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.0009383/0.0009383, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009979/0.0009979, allocations: 162.7 kB / 25.7 MB, free: 8.406 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.8367/0.8367, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.012e-06/1.012e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.246e-05, allocations: 6.25 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004065/0.004078, allocations: 4.878 MB / 256.4 MB, free: 2.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007547/0.01163, allocations: 8.267 MB / 264.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.01213, allocations: 59.38 kB / 264.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.01288, allocations: 353.4 kB / 265.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.01447, allocations: 0.8763 MB / 265.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.01565, allocations: 0.6023 MB / 266.5 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.01721, allocations: 1.74 MB / 268.3 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.01738, allocations: 119.2 kB / 268.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009075/0.01829, allocations: 0.7851 MB / 269.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.01852, allocations: 235.2 kB / 269.4 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.01856, allocations: 28 kB / 269.4 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000684/0.01924, allocations: 0.5268 MB / 270 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.01931, allocations: 107.3 kB / 270.1 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.01948, allocations: 235.3 kB / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.02028, allocations: 0.9498 MB / 271.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.02029, allocations: 0 / 271.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.02029, allocations: 0 / 271.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.02029, allocations: 0 / 271.3 MB, free: 3.434 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.0009817/0.02128, allocations: 1.213 MB / 272.5 MB, free: 2.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.02131, allocations: 15.98 kB / 272.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.0214, allocations: 92.84 kB / 272.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.02204, allocations: 0.695 MB / 273.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.02206, allocations: 32.38 kB / 273.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.0221, allocations: 24 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.02234, allocations: 257 kB / 273.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.02234, allocations: 0 / 273.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.02236, allocations: 15.94 kB / 273.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.02237, allocations: 8 kB / 273.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.0225, allocations: 93.06 kB / 273.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.02327, allocations: 0.7099 MB / 274.4 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.02343, allocations: 150.3 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.02355, allocations: 129.2 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.02777, allocations: 3.561 MB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.02779, allocations: 38.56 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.02779, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006626/0.02845, allocations: 410.1 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.02848, allocations: 81.11 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.02887, allocations: 0.7132 MB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.02889, allocations: 29.7 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.02901, allocations: 274.9 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.02905, allocations: 83.27 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.0291, allocations: 53.86 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.02917, allocations: 326 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.0292, allocations: 24.22 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.02928, allocations: 127.5 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.0294, allocations: 153 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0294, allocations: 3.984 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002128/0.02961, allocations: 234.1 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.02962, allocations: 8 kB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.02964, allocations: 4 kB / 280.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.02982, allocations: 108.9 kB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.0299, allocations: 35.97 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/0.03018, allocations: 0.5991 MB / 281.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.03029, allocations: 31.77 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.03031, allocations: 12 kB / 281.5 MB, free: 8.766 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.0001005/0.03041, allocations: 121.8 kB / 281.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.03047, allocations: 79.78 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.03077, allocations: 263.4 kB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.03077, allocations: 4 kB / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.03077, allocations: 4 kB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.03078, allocations: 7.938 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.03103, allocations: 290.1 kB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.03104, allocations: 0 / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.03109, allocations: 15.98 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.03122, allocations: 108 kB / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.03123, allocations: 4 kB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004829/0.03172, allocations: 0.6146 MB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.03172, allocations: 0 / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.03191, allocations: 292.7 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.03199, allocations: 95.27 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.03204, allocations: 7.938 kB / 283.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.03213, allocations: 4 kB / 283.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.03216, allocations: 7.984 kB / 283.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.03217, allocations: 11.98 kB / 283.4 MB, free: 6.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.03238, allocations: 360.9 kB / 283.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03238, allocations: 0 / 283.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000301/0.03268, allocations: 199.6 kB / 284 MB, free: 6.219 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.0003348/0.03302, allocations: 324.6 kB / 284.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.03325, allocations: 190.1 kB / 284.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.03326, allocations: 12.56 kB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.03336, allocations: 128.4 kB / 284.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.03366, allocations: 132.2 kB / 284.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.0347, allocations: 1.159 MB / 285.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.03478, allocations: 138.2 kB / 286.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.03495, allocations: 106.7 kB / 286.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.03512, allocations: 193.3 kB / 286.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03512, allocations: 0 / 286.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of Templates: time 0.0124/0.04752, allocations: 9.839 MB / 296.2 MB, free: 9.961 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.624230496585369]