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.00104/0.00104, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001573/0.001573, allocations: 143.7 kB / 25.59 MB, free: 8.609 MB / 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 0.9537/0.9537, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] 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.704e-06/1.704e-06, allocations: 0 / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.475e-05, allocations: 2.312 kB / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006351/0.006375, allocations: 5.031 MB / 274.2 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.01369, allocations: 8.496 MB / 282.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.01404, allocations: 59.38 kB / 282.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.01465, allocations: 357.6 kB / 283.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.01604, allocations: 0.8803 MB / 284 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009732/0.01701, allocations: 0.6023 MB / 284.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.01853, allocations: 1.787 MB / 286.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.01872, allocations: 103.3 kB / 286.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.01943, allocations: 0.8279 MB / 287.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.01969, allocations: 243.2 kB / 287.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.01973, allocations: 28 kB / 287.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.02044, allocations: 0.5618 MB / 288.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.02051, allocations: 107.3 kB / 288.2 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.02067, allocations: 231.3 kB / 288.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008506/0.02153, allocations: 0.9421 MB / 289.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.02153, allocations: 0 / 289.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02153, allocations: 8 kB / 289.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.02154, allocations: 0 / 289.4 MB, free: 5.488 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.001206/0.02274, allocations: 1.369 MB / 290.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.02278, allocations: 8.031 kB / 290.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.0229, allocations: 132.2 kB / 290.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.02363, allocations: 0.8536 MB / 291.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.02364, allocations: 20.88 kB / 291.8 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.02368, allocations: 28.12 kB / 291.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.02395, allocations: 263.8 kB / 292.1 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.02396, allocations: 4 kB / 292.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.02398, allocations: 8 kB / 292.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.02399, allocations: 8 kB / 292.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.02412, allocations: 114.2 kB / 292.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.02507, allocations: 0.9578 MB / 293.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.02524, allocations: 123 kB / 293.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.02537, allocations: 136.1 kB / 293.4 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003637/0.02901, allocations: 3.332 MB / 296.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.02903, allocations: 41.33 kB / 296.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.02903, allocations: 0 / 296.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007939/0.02982, allocations: 0.4886 MB / 297.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.02985, allocations: 81.11 kB / 297.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.03034, allocations: 0.8662 MB / 298.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.03036, allocations: 29.7 kB / 298.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.03062, allocations: 0.5231 MB / 298.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.03066, allocations: 87.25 kB / 298.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.03072, allocations: 63.53 kB / 298.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.03082, allocations: 0.4887 MB / 299.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.03086, allocations: 32.2 kB / 299.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/0.03095, allocations: 166.9 kB / 299.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.0311, allocations: 199.8 kB / 299.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.0311, allocations: 0 / 299.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002767/0.03137, allocations: 328.3 kB / 300.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.03139, allocations: 15.88 kB / 300.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.03141, allocations: 16.27 kB / 300.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.03165, allocations: 125.7 kB / 300.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.03174, allocations: 35.91 kB / 300.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003922/0.03213, allocations: 0.9131 MB / 301.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.03225, allocations: 31.8 kB / 301.3 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.03227, allocations: 12 kB / 301.3 MB, free: 9.188 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.0001189/0.03239, allocations: 172.5 kB / 301.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.03247, allocations: 115.3 kB / 301.6 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.03284, allocations: 333.4 kB / 301.9 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.03284, allocations: 4 kB / 301.9 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.03285, allocations: 4 kB / 301.9 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.03285, allocations: 0 / 301.9 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.03315, allocations: 349.9 kB / 302.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.03316, allocations: 16 kB / 302.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.03322, allocations: 15.98 kB / 302.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.03337, allocations: 125.9 kB / 302.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.03338, allocations: 8 kB / 302.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003714/0.03375, allocations: 0.9131 MB / 303.3 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.03376, allocations: 7.875 kB / 303.3 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.03403, allocations: 431.8 kB / 303.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.03412, allocations: 99.27 kB / 303.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.03417, allocations: 7.938 kB / 303.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.03427, allocations: 4 kB / 303.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.03431, allocations: 23.94 kB / 303.9 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.03432, allocations: 8 kB / 303.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.03464, allocations: 0.4946 MB / 304.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03464, allocations: 0 / 304.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.035, allocations: 203.6 kB / 304.6 MB, free: 5.777 MB / 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.0003918/0.03539, allocations: 339.4 kB / 304.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.03567, allocations: 217.2 kB / 305.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.03567, allocations: 4 kB / 305.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.03579, allocations: 160 kB / 305.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.03622, allocations: 168 kB / 305.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.03724, allocations: 1.153 MB / 306.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.03732, allocations: 150.1 kB / 306.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.03751, allocations: 106.7 kB / 306.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.03768, allocations: 222.1 kB / 307.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03768, allocations: 0 / 307.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of Templates: time 0.0135/0.05118, allocations: 9.93 MB / 317 MB, free: 9.391 MB / 298.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","",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.9114646250382066]