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.001347/0.001347, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.0008945/0.0008945, allocations: 168.5 kB / 25.33 MB, free: 8.133 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.8091/0.8091, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.655e-06/2.655e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.399e-05, allocations: 9.203 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004585/0.004619, allocations: 4.971 MB / 256 MB, free: 2.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.01196, allocations: 8.261 MB / 264.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005624/0.01252, allocations: 63.31 kB / 264.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000709/0.01323, allocations: 341.5 kB / 264.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.01501, allocations: 0.8531 MB / 265.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.01623, allocations: 0.614 MB / 266.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.01798, allocations: 1.736 MB / 267.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.01819, allocations: 95.38 kB / 268 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007521/0.01894, allocations: 0.8045 MB / 268.8 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.01921, allocations: 235.2 kB / 269 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.01926, allocations: 28 kB / 269 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009714/0.02023, allocations: 0.5268 MB / 269.6 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.02033, allocations: 103.4 kB / 269.7 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.02053, allocations: 231.3 kB / 269.9 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.02159, allocations: 0.9421 MB / 270.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.0216, allocations: 0 / 270.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.0216, allocations: 0 / 270.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.02161, allocations: 0 / 270.8 MB, free: 3.633 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.001443/0.02306, allocations: 1.373 MB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.0231, allocations: 11.98 kB / 272.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.02325, allocations: 140.2 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.02405, allocations: 0.8342 MB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.02407, allocations: 24.44 kB / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.02412, allocations: 31.94 kB / 273.2 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.02451, allocations: 287.8 kB / 273.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.02453, allocations: 0 / 273.5 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.02455, allocations: 8 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.02456, allocations: 12 kB / 273.5 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.02476, allocations: 139.2 kB / 273.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.02598, allocations: 1.087 MB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.02629, allocations: 139 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.02648, allocations: 168 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003917/0.0304, allocations: 3.348 MB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.03042, allocations: 41.38 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/0.03043, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009351/0.03136, allocations: 0.512 MB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.0314, allocations: 85.05 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.03201, allocations: 0.8629 MB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.03203, allocations: 33.7 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.03231, allocations: 0.5115 MB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.03236, allocations: 83.28 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.03243, allocations: 59.59 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.03255, allocations: 496.4 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.03261, allocations: 52.14 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.03273, allocations: 170.7 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.03291, allocations: 201.2 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.03292, allocations: 7.969 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003633/0.03328, allocations: 360.2 kB / 281.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.0333, allocations: 4 kB / 281.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.03332, allocations: 16 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.03358, allocations: 127.9 kB / 282 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.03368, allocations: 39.91 kB / 282 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004798/0.03416, allocations: 0.924 MB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.03428, allocations: 27.78 kB / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.03431, allocations: 15.94 kB / 283 MB, free: 7.004 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.03444, allocations: 172.6 kB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.03452, allocations: 111.3 kB / 283.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.03495, allocations: 346.2 kB / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.03496, allocations: 0 / 283.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.03496, allocations: 3.938 kB / 283.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.03497, allocations: 0 / 283.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.03538, allocations: 486.4 kB / 284.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.0354, allocations: 12 kB / 284.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.03546, allocations: 19.97 kB / 284.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.03564, allocations: 123.6 kB / 284.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.03565, allocations: 8 kB / 284.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004111/0.03606, allocations: 0.9364 MB / 285.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.03606, allocations: 0 / 285.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.0364, allocations: 463.6 kB / 285.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.03649, allocations: 99.27 kB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.03654, allocations: 0 / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.03664, allocations: 15.98 kB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.03668, allocations: 11.98 kB / 285.8 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.0367, allocations: 12 kB / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003885/0.03708, allocations: 0.5143 MB / 286.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.03708, allocations: 7.969 kB / 286.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.03747, allocations: 203.6 kB / 286.5 MB, free: 3.375 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.0003997/0.03787, allocations: 323.3 kB / 286.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.03822, allocations: 233.7 kB / 287 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03822, allocations: 4 kB / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.03837, allocations: 159.2 kB / 287.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.03877, allocations: 140.1 kB / 287.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.04003, allocations: 1.161 MB / 288.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/0.04011, allocations: 142.2 kB / 288.6 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.0403, allocations: 106.7 kB / 288.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.04036, allocations: 48.5 kB / 288.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of SimCode: time 1.302e-06/0.04036, allocations: 0 / 288.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of Templates: time 0.01375/0.05411, allocations: 10.14 MB / 298.9 MB, free: 6.871 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.8564230371266603]