Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.468e-05, allocations: 2.312 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006963/0.006988, allocations: 5.068 MB / 272.4 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.01936, allocations: 8.622 MB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.01988, allocations: 59.38 kB / 281.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.02081, allocations: 361.5 kB / 281.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.02314, allocations: 0.8842 MB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.02472, allocations: 0.5985 MB / 282.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002908/0.02763, allocations: 1.752 MB / 284.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.02811, allocations: 99.27 kB / 284.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.02874, allocations: 454.8 kB / 285.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.02914, allocations: 231.2 kB / 285.4 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.02921, allocations: 32 kB / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.03049, allocations: 0.5657 MB / 286 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.03061, allocations: 107.3 kB / 286.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.03093, allocations: 223.3 kB / 286.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.03264, allocations: 1.242 MB / 287.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.03265, allocations: 0 / 287.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03265, allocations: 4 kB / 287.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.03266, allocations: 0 / 287.6 MB, free: 2.387 MB / 266.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.002255/0.03492, allocations: 1.4 MB / 289 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.03496, allocations: 12.92 kB / 289 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.03517, allocations: 140.2 kB / 289.1 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1106/0.1458, allocations: 0.8672 MB / 290 MB, free: 33.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1458, allocations: 20.25 kB / 290 MB, free: 33.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.1459, allocations: 24.81 kB / 290 MB, free: 33.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.1464, allocations: 333.6 kB / 290.4 MB, free: 33.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1464, allocations: 1.156 kB / 290.4 MB, free: 33.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1464, allocations: 10.53 kB / 290.4 MB, free: 33.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1464, allocations: 6.812 kB / 290.4 MB, free: 33.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.1468, allocations: 207.1 kB / 290.6 MB, free: 33.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1486, allocations: 1.253 MB / 291.8 MB, free: 32.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.1489, allocations: 165.2 kB / 292 MB, free: 32.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.1492, allocations: 184.8 kB / 292.2 MB, free: 32.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0064/0.1556, allocations: 3.399 MB / 295.6 MB, free: 31.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1556, allocations: 41.39 kB / 295.6 MB, free: 31.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.1556, allocations: 0 / 295.6 MB, free: 31.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001572/0.1572, allocations: 0.5904 MB / 296.2 MB, free: 31.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.1572, allocations: 80.39 kB / 296.3 MB, free: 31.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.1583, allocations: 1.06 MB / 297.3 MB, free: 31.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1583, allocations: 31.17 kB / 297.4 MB, free: 30.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.1586, allocations: 0.5448 MB / 297.9 MB, free: 30.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.1587, allocations: 86.48 kB / 298 MB, free: 30.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.1588, allocations: 71.77 kB / 298.1 MB, free: 30.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.1588, allocations: 0.4934 MB / 298.6 MB, free: 29.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.159, allocations: 70.62 kB / 298.6 MB, free: 29.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1591, allocations: 201.7 kB / 298.8 MB, free: 29.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1594, allocations: 254.5 kB / 299.1 MB, free: 29.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1595, allocations: 0 / 299.1 MB, free: 29.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005825/0.16, allocations: 422.2 kB / 299.5 MB, free: 29.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.16, allocations: 5.531 kB / 299.5 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.1601, allocations: 15.08 kB / 299.5 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.1604, allocations: 151.3 kB / 299.7 MB, free: 29.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1606, allocations: 30.34 kB / 299.7 MB, free: 29.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005887/0.1612, allocations: 0.9849 MB / 300.7 MB, free: 28.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1614, allocations: 23.48 kB / 300.7 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.1615, allocations: 17.12 kB / 300.7 MB, free: 28.47 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.000233/0.1617, allocations: 247.6 kB / 301 MB, free: 28.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1618, allocations: 109.8 kB / 301.1 MB, free: 28.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.1626, allocations: 402 kB / 301.5 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1626, allocations: 1.781 kB / 301.5 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1626, allocations: 1.812 kB / 301.5 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1626, allocations: 1.359 kB / 301.5 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.1633, allocations: 0.5799 MB / 302 MB, free: 27.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.1633, allocations: 13.19 kB / 302.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1634, allocations: 16.92 kB / 302.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.1637, allocations: 144.5 kB / 302.2 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1637, allocations: 12.27 kB / 302.2 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005032/0.1642, allocations: 0.9756 MB / 303.2 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1642, allocations: 1.375 kB / 303.2 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.1647, allocations: 0.5093 MB / 303.7 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1649, allocations: 102.9 kB / 303.8 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.165, allocations: 4.984 kB / 303.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.1652, allocations: 9.016 kB / 303.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.1652, allocations: 12.17 kB / 303.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.1653, allocations: 10.47 kB / 303.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005701/0.1658, allocations: 0.641 MB / 304.5 MB, free: 26.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1658, allocations: 0 / 304.5 MB, free: 26.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005229/0.1663, allocations: 201 kB / 304.7 MB, free: 26.06 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.0004584/0.1668, allocations: 325.8 kB / 305 MB, free: 25.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004702/0.1673, allocations: 279 kB / 305.3 MB, free: 25.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1673, allocations: 4 kB / 305.3 MB, free: 25.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.1675, allocations: 188 kB / 305.5 MB, free: 25.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.1682, allocations: 168.7 kB / 305.6 MB, free: 25.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1695, allocations: 1.243 MB / 306.9 MB, free: 24.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1697, allocations: 355.3 kB / 307.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.1699, allocations: 106.6 kB / 307.3 MB, free: 23.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.17, allocations: 52.5 kB / 307.4 MB, free: 23.67 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.17, allocations: 0 / 307.4 MB, free: 23.67 MB / 266.7 MB Notification: Performance of Templates: time 0.0133/0.1833, allocations: 8.71 MB / 316.1 MB, free: 15.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.682575877988711]