Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8784/0.8784, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.731e-05/4.029e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004097/0.004137, allocations: 4.511 MB / 304.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007372/0.01151, allocations: 7.501 MB / 311.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.01211, allocations: 55.38 kB / 311.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.01287, allocations: 349.4 kB / 312.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.01481, allocations: 0.8569 MB / 313 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.01616, allocations: 0.5906 MB / 313.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.01816, allocations: 1.709 MB / 315.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.01838, allocations: 107.2 kB / 315.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.01872, allocations: 426.8 kB / 315.8 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.01894, allocations: 219.2 kB / 316 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.01898, allocations: 32 kB / 316 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000819/0.0198, allocations: 0.5268 MB / 316.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.01987, allocations: 99.36 kB / 316.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.02003, allocations: 227.3 kB / 316.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.02105, allocations: 1.23 MB / 318.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02105, allocations: 0 / 318.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02105, allocations: 0 / 318.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.02106, allocations: 4 kB / 318.1 MB, free: 4.43 MB / 298.7 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.001275/0.02234, allocations: 1.238 MB / 319.3 MB, free: 3.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.02239, allocations: 11.98 kB / 319.3 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.0225, allocations: 124.2 kB / 319.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.02333, allocations: 0.7766 MB / 320.2 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.02335, allocations: 24.38 kB / 320.3 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.02339, allocations: 24 kB / 320.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.02377, allocations: 337.5 kB / 320.6 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.02378, allocations: 4 kB / 320.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.0238, allocations: 11.94 kB / 320.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.02381, allocations: 8 kB / 320.6 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.02408, allocations: 238 kB / 320.9 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.0256, allocations: 1.025 MB / 321.9 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.02587, allocations: 186.5 kB / 322.1 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.02606, allocations: 197.3 kB / 322.3 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003631/0.02969, allocations: 3.079 MB / 325.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.02972, allocations: 38.56 kB / 325.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.02972, allocations: 0 / 325.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009554/0.03068, allocations: 0.5798 MB / 326 MB, free: 12.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.03073, allocations: 85.11 kB / 326.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.03128, allocations: 0.7781 MB / 326.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.0313, allocations: 33.64 kB / 326.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.03154, allocations: 440.8 kB / 327.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.0316, allocations: 87.25 kB / 327.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.03166, allocations: 53.94 kB / 327.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.03175, allocations: 318 kB / 327.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.03184, allocations: 72.2 kB / 327.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.03196, allocations: 171.5 kB / 328 MB, free: 10.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.03218, allocations: 228.9 kB / 328.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.03219, allocations: 3.938 kB / 328.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006132/0.0328, allocations: 397.5 kB / 328.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.03282, allocations: 4 kB / 328.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.03283, allocations: 16 kB / 328.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002584/0.03309, allocations: 149 kB / 328.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.03318, allocations: 35.97 kB / 328.8 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004374/0.03362, allocations: 0.7075 MB / 329.5 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.03374, allocations: 31.77 kB / 329.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.03376, allocations: 16.06 kB / 329.6 MB, free: 8.57 MB / 314.7 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.0001667/0.03393, allocations: 197.7 kB / 329.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.03399, allocations: 107.3 kB / 329.9 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.03445, allocations: 391.3 kB / 330.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.03445, allocations: 4 kB / 330.2 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.03445, allocations: 3.938 kB / 330.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.03446, allocations: 3.984 kB / 330.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.03479, allocations: 426.3 kB / 330.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.03481, allocations: 15.94 kB / 330.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.03486, allocations: 19.98 kB / 330.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.03503, allocations: 144.6 kB / 330.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.03504, allocations: 8 kB / 330.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.0354, allocations: 0.7007 MB / 331.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0354, allocations: 0 / 331.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.03573, allocations: 448.1 kB / 332 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.03582, allocations: 107.3 kB / 332.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.03587, allocations: 12 kB / 332.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.03597, allocations: 4.062 kB / 332.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.03601, allocations: 19.97 kB / 332.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.03602, allocations: 8 kB / 332.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003618/0.03638, allocations: 0.5261 MB / 332.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03638, allocations: 0 / 332.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.03671, allocations: 199.6 kB / 332.9 MB, free: 5.164 MB / 314.7 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.0003875/0.0371, allocations: 299.4 kB / 333.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.03745, allocations: 271.5 kB / 333.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.03745, allocations: 0 / 333.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.03759, allocations: 163.3 kB / 333.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.03795, allocations: 140.3 kB / 333.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.03908, allocations: 1.241 MB / 334.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.03927, allocations: 353.3 kB / 335.3 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.03932, allocations: 56.48 kB / 335.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03932, allocations: 0 / 335.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of Templates: time 0.01061/0.04993, allocations: 14.82 MB / 350.2 MB, free: 3.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.51686726231128]