Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008004/0.008004, allocations: 103.6 kB / 21.98 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 222.4 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 259 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.83 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2375, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006391/0.2439, allocations: 5.33 MB / 438.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.255, allocations: 9.168 MB / 447.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/0.2557, allocations: 63.31 kB / 447.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2567, allocations: 393.5 kB / 448.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.2592, allocations: 0.8458 MB / 448.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.261, allocations: 0.5948 MB / 449.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.2637, allocations: 1.729 MB / 451.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.2639, allocations: 108.2 kB / 451.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.2644, allocations: 326.5 kB / 451.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.2649, allocations: 326 kB / 452 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.2649, allocations: 32 kB / 452 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.2664, allocations: 0.6555 MB / 452.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2665, allocations: 107.3 kB / 452.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.2669, allocations: 401.5 kB / 453.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.2686, allocations: 1.221 MB / 454.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2686, allocations: 4 kB / 454.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2687, allocations: 0 / 454.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.2687, allocations: 4 kB / 454.4 MB, free: 1.582 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001946/0.2706, allocations: 1.234 MB / 455.7 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2707, allocations: 8.031 kB / 455.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.271, allocations: 132.2 kB / 455.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.2724, allocations: 0.7888 MB / 456.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2724, allocations: 20.5 kB / 456.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.2724, allocations: 27.95 kB / 456.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.273, allocations: 307.8 kB / 456.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.273, allocations: 7.875 kB / 456.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.273, allocations: 12 kB / 457 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2731, allocations: 4 kB / 457 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.2735, allocations: 242 kB / 457.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2754, allocations: 1.144 MB / 458.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.2758, allocations: 182.6 kB / 458.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.2761, allocations: 198.1 kB / 458.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006785/0.2829, allocations: 3.111 MB / 461.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.2829, allocations: 38.5 kB / 461.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/0.283, allocations: 0 / 461.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001661/0.2846, allocations: 0.5796 MB / 462.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.2847, allocations: 77.11 kB / 462.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2857, allocations: 0.7987 MB / 463.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.2857, allocations: 29.7 kB / 463.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.2861, allocations: 449 kB / 463.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.2862, allocations: 75.33 kB / 463.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2863, allocations: 61.83 kB / 463.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2864, allocations: 321.9 kB / 464.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.2866, allocations: 68.2 kB / 464.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2868, allocations: 145.9 kB / 464.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.2872, allocations: 235.7 kB / 464.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2872, allocations: 0 / 464.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006924/0.2879, allocations: 409.4 kB / 465.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2879, allocations: 8 kB / 465.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.2879, allocations: 12 kB / 465.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.2883, allocations: 145 kB / 465.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2885, allocations: 31.98 kB / 465.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007175/0.2892, allocations: 0.7046 MB / 466 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.2895, allocations: 35.67 kB / 466 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.2895, allocations: 12.06 kB / 466 MB, free: 5.613 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002979/0.2898, allocations: 201.8 kB / 466.2 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.2899, allocations: 107.3 kB / 466.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.2908, allocations: 411.4 kB / 466.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2908, allocations: 4 kB / 466.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2908, allocations: 0 / 466.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2908, allocations: 0 / 466.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.2914, allocations: 482.7 kB / 467.2 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.2915, allocations: 12 kB / 467.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.2916, allocations: 23.92 kB / 467.2 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.2919, allocations: 147.8 kB / 467.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.2919, allocations: 11.94 kB / 467.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006672/0.2926, allocations: 0.6929 MB / 468.1 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2926, allocations: 7.922 kB / 468.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.2932, allocations: 447.3 kB / 468.5 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.2934, allocations: 103.2 kB / 468.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.2935, allocations: 8 kB / 468.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.2937, allocations: 4 kB / 468.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.2938, allocations: 19.92 kB / 468.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2938, allocations: 8 kB / 468.7 MB, free: 2.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006961/0.2945, allocations: 0.5462 MB / 469.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2945, allocations: 0 / 469.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006353/0.2951, allocations: 203.6 kB / 469.4 MB, free: 2.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005403/0.2957, allocations: 295.7 kB / 469.7 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.2963, allocations: 267.9 kB / 470 MB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2963, allocations: 4 kB / 470 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.2966, allocations: 174 kB / 470.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.2974, allocations: 168.3 kB / 470.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.2995, allocations: 1.286 MB / 471.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.3, allocations: 0.9374 MB / 472.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.3001, allocations: 51.44 kB / 472.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3001, allocations: 0 / 472.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of Templates: time 0.021/0.3211, allocations: 14.47 MB / 487 MB, free: 400 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.037472700001672]