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.002023/0.002023, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002599/0.002599, allocations: 160.9 kB / 24.26 MB, free: 148 kB / 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 1.708/1.708, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.472e-06/1.472e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.35e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006319/0.006342, allocations: 4.652 MB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.01804, allocations: 7.881 MB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.01864, allocations: 59.31 kB / 284.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009585/0.0196, allocations: 361.5 kB / 285.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.02235, allocations: 0.8727 MB / 286 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.02397, allocations: 0.614 MB / 286.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.02685, allocations: 1.775 MB / 288.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.02714, allocations: 103.4 kB / 288.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.02786, allocations: 454.8 kB / 288.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.02826, allocations: 231.1 kB / 289.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.02833, allocations: 32 kB / 289.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.02973, allocations: 0.5813 MB / 289.8 MB, free: 136 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.02984, allocations: 99.31 kB / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1089/0.1388, allocations: 225.1 kB / 290.1 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1408, allocations: 1.244 MB / 291.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1408, allocations: 1.344 kB / 291.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1408, allocations: 0 / 291.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1408, allocations: 0 / 291.3 MB, free: 16.55 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.0017/0.1425, allocations: 1.227 MB / 292.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1425, allocations: 13.98 kB / 292.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.1428, allocations: 148.1 kB / 292.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1439, allocations: 0.8769 MB / 293.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.144, allocations: 18.09 kB / 293.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.144, allocations: 25.62 kB / 293.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.1445, allocations: 341.4 kB / 294 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1445, allocations: 3.375 kB / 294 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1446, allocations: 8.969 kB / 294 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1446, allocations: 12 kB / 294 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.145, allocations: 231.8 kB / 294.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1465, allocations: 1.046 MB / 295.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1468, allocations: 175.8 kB / 295.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.1471, allocations: 196.3 kB / 295.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006423/0.1535, allocations: 3.311 MB / 299 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1536, allocations: 40.77 kB / 299 MB, free: 14.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.993e-06/0.1536, allocations: 0 / 299 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001544/0.1551, allocations: 0.5947 MB / 299.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1551, allocations: 80.73 kB / 299.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000791/0.1559, allocations: 0.7787 MB / 300.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1559, allocations: 30.8 kB / 300.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.1562, allocations: 439.7 kB / 300.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1562, allocations: 82.78 kB / 301 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.1563, allocations: 58.73 kB / 301 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.1563, allocations: 316.2 kB / 301.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1565, allocations: 66.7 kB / 301.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1566, allocations: 179.2 kB / 301.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.1569, allocations: 227 kB / 301.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1569, allocations: 5.656 kB / 301.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005425/0.1575, allocations: 415.5 kB / 302.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1575, allocations: 9.438 kB / 302.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.1575, allocations: 13.75 kB / 302.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.1579, allocations: 147.2 kB / 302.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.158, allocations: 34.17 kB / 302.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004943/0.1585, allocations: 0.7135 MB / 303.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.1588, allocations: 24.44 kB / 303.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.1588, allocations: 12.12 kB / 303.2 MB, free: 11.96 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.0002048/0.159, allocations: 206.2 kB / 303.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1592, allocations: 114.3 kB / 303.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.1598, allocations: 399.4 kB / 303.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1598, allocations: 2.969 kB / 303.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1598, allocations: 0 / 303.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1599, allocations: 4 kB / 303.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.1603, allocations: 430.6 kB / 304.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.1603, allocations: 14.84 kB / 304.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1604, allocations: 18.33 kB / 304.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.1607, allocations: 129.5 kB / 304.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1607, allocations: 18.45 kB / 304.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000406/0.1611, allocations: 0.6959 MB / 305.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1611, allocations: 4.562 kB / 305.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.1616, allocations: 449.3 kB / 305.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1617, allocations: 104.6 kB / 305.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.1618, allocations: 6.875 kB / 305.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.162, allocations: 11.88 kB / 305.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.162, allocations: 14.16 kB / 305.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.1621, allocations: 15.94 kB / 305.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004246/0.1625, allocations: 0.5258 MB / 306.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1625, allocations: 0 / 306.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005852/0.1631, allocations: 207.5 kB / 306.5 MB, free: 10.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.000438/0.1635, allocations: 314.4 kB / 306.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.164, allocations: 267.3 kB / 307.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.164, allocations: 0 / 307.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.1642, allocations: 169 kB / 307.2 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.1649, allocations: 169.9 kB / 307.4 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1664, allocations: 1.241 MB / 308.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1667, allocations: 348.1 kB / 309 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.1669, allocations: 109.5 kB / 309.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.167, allocations: 51.09 kB / 309.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.167, allocations: 0 / 309.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of Templates: time 0.01306/0.18, allocations: 8.728 MB / 317.9 MB, free: 1.457 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.8059374139411375]