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.001409/0.001409, allocations: 85.95 kB / 23 MB, free: 1.504 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.00145/0.00145, allocations: 172 kB / 26.39 MB, free: 8.145 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.8625/0.8625, allocations: 158.6 MB / 188.3 MB, free: 2.824 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 1.733e-06/1.733e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.213e-05, allocations: 6.25 kB / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004105/0.004137, allocations: 4.885 MB / 257.1 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.01113, allocations: 8.113 MB / 265.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.01174, allocations: 59.38 kB / 265.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.01246, allocations: 341.5 kB / 265.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.01429, allocations: 0.8608 MB / 266.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.01554, allocations: 0.6023 MB / 267.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.01733, allocations: 1.736 MB / 268.8 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.01754, allocations: 115.3 kB / 269 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.01832, allocations: 0.7928 MB / 269.7 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.0186, allocations: 231.2 kB / 270 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.01865, allocations: 28 kB / 270 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008797/0.01952, allocations: 0.5346 MB / 270.5 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.0196, allocations: 107.3 kB / 270.6 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.01981, allocations: 223.4 kB / 270.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.0209, allocations: 0.9498 MB / 271.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.02091, allocations: 0 / 271.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02091, allocations: 0 / 271.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.02092, allocations: 0 / 271.8 MB, free: 3.605 MB / 250.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.00117/0.02209, allocations: 1.373 MB / 273.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.02213, allocations: 15.92 kB / 273.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.02224, allocations: 136.2 kB / 273.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.02296, allocations: 0.842 MB / 274.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.02297, allocations: 20.44 kB / 274.2 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.02302, allocations: 31.89 kB / 274.2 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.0233, allocations: 275.8 kB / 274.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.02331, allocations: 0 / 274.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.02333, allocations: 4 kB / 274.5 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.02334, allocations: 12 kB / 274.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.02348, allocations: 114.2 kB / 274.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.02445, allocations: 0.9384 MB / 275.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.02465, allocations: 127 kB / 275.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.02479, allocations: 148 kB / 275.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003768/0.02855, allocations: 3.336 MB / 279.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.02858, allocations: 45.25 kB / 279.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.02858, allocations: 0 / 279.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008454/0.02943, allocations: 496.3 kB / 279.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.02946, allocations: 85.05 kB / 279.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.02999, allocations: 0.8585 MB / 280.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.03001, allocations: 33.7 kB / 280.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.03032, allocations: 0.5191 MB / 281.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.03036, allocations: 91.23 kB / 281.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.03043, allocations: 59.58 kB / 281.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.03054, allocations: 0.4887 MB / 281.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.03059, allocations: 28.22 kB / 281.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.03069, allocations: 166.7 kB / 282 MB, free: 9.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.03085, allocations: 197.2 kB / 282.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.03085, allocations: 0 / 282.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003163/0.03117, allocations: 340.2 kB / 282.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.03119, allocations: 8 kB / 282.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.03121, allocations: 12 kB / 282.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.03143, allocations: 127.6 kB / 282.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.03152, allocations: 36.17 kB / 282.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/0.03197, allocations: 0.9165 MB / 283.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.0321, allocations: 23.84 kB / 283.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.03213, allocations: 15.94 kB / 283.7 MB, free: 7.293 MB / 266.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.000131/0.03226, allocations: 168.5 kB / 283.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.03234, allocations: 115.3 kB / 283.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.03275, allocations: 330.2 kB / 284.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.03275, allocations: 4 kB / 284.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.03275, allocations: 0 / 284.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.03276, allocations: 3.938 kB / 284.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.0331, allocations: 349.9 kB / 284.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.03311, allocations: 19.98 kB / 284.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.03318, allocations: 15.98 kB / 284.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.03334, allocations: 115.6 kB / 284.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.03335, allocations: 15.98 kB / 284.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003943/0.03375, allocations: 0.9165 MB / 285.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.03375, allocations: 3.984 kB / 285.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.03404, allocations: 439.7 kB / 286.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.03414, allocations: 107.2 kB / 286.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.03419, allocations: 8 kB / 286.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.03429, allocations: 0 / 286.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.03433, allocations: 15.98 kB / 286.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.03434, allocations: 11.98 kB / 286.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002877/0.03463, allocations: 498.4 kB / 286.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03463, allocations: 0 / 286.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.03503, allocations: 207.6 kB / 287 MB, free: 3.887 MB / 266.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.0004016/0.03543, allocations: 343.4 kB / 287.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.03572, allocations: 205.2 kB / 287.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03572, allocations: 0 / 287.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.03584, allocations: 159.2 kB / 287.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.03622, allocations: 144.7 kB / 287.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.03732, allocations: 1.165 MB / 289 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.181e-05/0.0374, allocations: 142.2 kB / 289.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.03758, allocations: 110.7 kB / 289.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.03776, allocations: 218.1 kB / 289.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03776, allocations: 8 kB / 289.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of Templates: time 0.01252/0.05028, allocations: 9.919 MB / 299.3 MB, free: 7.426 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8582646367140114]