Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 166.2 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9636/0.9636, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 274.1 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.715e-05, allocations: 4.672 kB / 274.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.01103/0.01105, allocations: 5.035 MB / 279.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.02786, allocations: 8.547 MB / 287.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.02832, allocations: 59.31 kB / 287.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.02905, allocations: 365.5 kB / 288.1 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.03385, allocations: 0.8803 MB / 289 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.03507, allocations: 0.6102 MB / 289.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004985/0.04005, allocations: 1.801 MB / 291.4 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.04027, allocations: 99.31 kB / 291.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009672/0.04124, allocations: 0.8747 MB / 292.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.04155, allocations: 239.2 kB / 292.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.04159, allocations: 28 kB / 292.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.0456, allocations: 0.5735 MB / 293.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.04569, allocations: 111.2 kB / 293.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.04592, allocations: 235.3 kB / 293.5 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.04705, allocations: 0.9578 MB / 294.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.04705, allocations: 0 / 294.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.04705, allocations: 0 / 294.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.04706, allocations: 4 kB / 294.5 MB, free: 15.91 MB / 282.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.004369/0.05143, allocations: 1.373 MB / 295.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.05147, allocations: 8.031 kB / 295.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005032/0.05197, allocations: 148.2 kB / 296 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.05288, allocations: 0.838 MB / 296.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.0529, allocations: 20.88 kB / 296.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.05294, allocations: 28.12 kB / 296.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.05327, allocations: 267.8 kB / 297.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.05328, allocations: 0 / 297.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.0533, allocations: 8 kB / 297.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.05331, allocations: 11.98 kB / 297.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.0535, allocations: 122.2 kB / 297.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.05769, allocations: 0.9576 MB / 298.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.0579, allocations: 122.9 kB / 298.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.05806, allocations: 150.5 kB / 298.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007637/0.0657, allocations: 3.344 MB / 301.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.06573, allocations: 45.28 kB / 301.9 MB, free: 8.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.883e-06/0.06573, allocations: 0 / 301.9 MB, free: 8.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.004033/0.06977, allocations: 0.4939 MB / 302.4 MB, free: 7.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.0698, allocations: 81.11 kB / 302.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.07052, allocations: 0.8585 MB / 303.4 MB, free: 6.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.07054, allocations: 29.7 kB / 303.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.07092, allocations: 0.5231 MB / 303.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.07097, allocations: 79.27 kB / 304 MB, free: 6.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.07106, allocations: 75.45 kB / 304.1 MB, free: 6.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.07119, allocations: 0.4887 MB / 304.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.07124, allocations: 32.2 kB / 304.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.07142, allocations: 162.7 kB / 304.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.0716, allocations: 190.4 kB / 304.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0716, allocations: 0 / 304.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003943/0.072, allocations: 334.7 kB / 305.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.07202, allocations: 14.59 kB / 305.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.07204, allocations: 16 kB / 305.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/0.0753, allocations: 131.8 kB / 305.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.07541, allocations: 31.92 kB / 305.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004919/0.0759, allocations: 0.917 MB / 306.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.07619, allocations: 27.78 kB / 306.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.07622, allocations: 8 kB / 306.4 MB, free: 3.586 MB / 282.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.0001439/0.07636, allocations: 180.5 kB / 306.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.07647, allocations: 115.3 kB / 306.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.07695, allocations: 326.3 kB / 307 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.07695, allocations: 0 / 307 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.07695, allocations: 4 kB / 307 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.07696, allocations: 7.984 kB / 307 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.07737, allocations: 353.8 kB / 307.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.07739, allocations: 16 kB / 307.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.07746, allocations: 15.98 kB / 307.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.07766, allocations: 122.4 kB / 307.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.07768, allocations: 8 kB / 307.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.0807, allocations: 0.915 MB / 308.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.0807, allocations: 3.938 kB / 308.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.08108, allocations: 437.8 kB / 308.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.08122, allocations: 99.27 kB / 309 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.08128, allocations: 7.938 kB / 309 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.08145, allocations: 4 kB / 309 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.08149, allocations: 15.97 kB / 309 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.0815, allocations: 8 kB / 309 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.0818, allocations: 0.4946 MB / 309.5 MB, free: 388 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0818, allocations: 0 / 309.5 MB, free: 388 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.08222, allocations: 199.6 kB / 309.7 MB, free: 188 kB / 282.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.0007193/0.08294, allocations: 347.3 kB / 310 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.08323, allocations: 209.2 kB / 310.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08323, allocations: 0.5625 kB / 310.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.08336, allocations: 164 kB / 310.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.08379, allocations: 164.2 kB / 310.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.08485, allocations: 1.159 MB / 311.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.08493, allocations: 146.1 kB / 311.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.08511, allocations: 102.7 kB / 311.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.0853, allocations: 222.1 kB / 312.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0853, allocations: 0 / 312.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.01195/0.09725, allocations: 9.984 MB / 322.1 MB, free: 3.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.983518454246223]