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.001118/0.001118, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.00105/0.00105, allocations: 168.8 kB / 25.33 MB, free: 9.438 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.9027/0.9027, allocations: 158.6 MB / 187.2 MB, free: 2.512 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 1.593e-06/1.593e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.924e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004103/0.004123, allocations: 4.97 MB / 256 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.011, allocations: 8.253 MB / 264.3 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.01139, allocations: 63.31 kB / 264.3 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.01203, allocations: 341.5 kB / 264.7 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.01354, allocations: 0.8608 MB / 265.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.01453, allocations: 0.6023 MB / 266.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.01617, allocations: 1.736 MB / 267.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.01636, allocations: 103.3 kB / 268 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.01672, allocations: 419 kB / 268.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.01696, allocations: 223.2 kB / 268.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.017, allocations: 32 kB / 268.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.01773, allocations: 0.5268 MB / 269.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.0178, allocations: 107.3 kB / 269.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.01798, allocations: 223.4 kB / 269.5 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008958/0.01887, allocations: 0.9536 MB / 270.4 MB, free: 112 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.01888, allocations: 0 / 270.4 MB, free: 112 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01888, allocations: 0 / 270.4 MB, free: 112 kB / 250.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.01889, allocations: 3.984 kB / 270.4 MB, free: 108 kB / 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.001241/0.02013, allocations: 1.342 MB / 271.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.02017, allocations: 11.98 kB / 271.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.02028, allocations: 140.2 kB / 271.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/0.02109, allocations: 0.905 MB / 272.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.02111, allocations: 20.44 kB / 272.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.02115, allocations: 27.95 kB / 272.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.02148, allocations: 267.2 kB / 273.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.02149, allocations: 0 / 273.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.02151, allocations: 12 kB / 273.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.02152, allocations: 4 kB / 273.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.02171, allocations: 143.2 kB / 273.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.02285, allocations: 1.087 MB / 274.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.02308, allocations: 146.8 kB / 274.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.02327, allocations: 168.1 kB / 274.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003707/0.02698, allocations: 3.34 MB / 278 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.02701, allocations: 45.39 kB / 278.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.02701, allocations: 0 / 278.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008883/0.0279, allocations: 0.5123 MB / 278.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.02793, allocations: 81.11 kB / 278.7 MB, free: 7.605 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.02856, allocations: 0.8669 MB / 279.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.02858, allocations: 29.7 kB / 279.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.02884, allocations: 0.5115 MB / 280.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.02889, allocations: 87.25 kB / 280.2 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.02895, allocations: 59.59 kB / 280.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.02906, allocations: 496.4 kB / 280.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.02913, allocations: 40.2 kB / 280.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.02924, allocations: 182.6 kB / 280.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.02943, allocations: 201.2 kB / 281.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02943, allocations: 3.938 kB / 281.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003369/0.02977, allocations: 364.2 kB / 281.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.02979, allocations: 10.66 kB / 281.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.02981, allocations: 12 kB / 281.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.03007, allocations: 135.6 kB / 281.6 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.03017, allocations: 32.27 kB / 281.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004846/0.03065, allocations: 0.9287 MB / 282.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.03076, allocations: 23.78 kB / 282.6 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.03079, allocations: 16 kB / 282.6 MB, free: 3.457 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.0001299/0.03092, allocations: 172.5 kB / 282.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.031, allocations: 111.3 kB / 282.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.03141, allocations: 338.4 kB / 283.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.03141, allocations: 4 kB / 283.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.03141, allocations: 3.938 kB / 283.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.03142, allocations: 3.938 kB / 283.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.03181, allocations: 486.4 kB / 283.7 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.03183, allocations: 15.98 kB / 283.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.03189, allocations: 19.92 kB / 283.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.03205, allocations: 126.6 kB / 283.9 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.03206, allocations: 4 kB / 283.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003967/0.03246, allocations: 0.9365 MB / 284.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03246, allocations: 0 / 284.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.03278, allocations: 467.6 kB / 285.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.03287, allocations: 95.31 kB / 285.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.03292, allocations: 7.984 kB / 285.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.03301, allocations: 8 kB / 285.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.03305, allocations: 11.98 kB / 285.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.03307, allocations: 12 kB / 285.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003659/0.03343, allocations: 0.5143 MB / 285.9 MB, free: 40 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03343, allocations: 0 / 285.9 MB, free: 40 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.03378, allocations: 199.7 kB / 286.1 MB, free: 15.84 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.0003644/0.03415, allocations: 331.2 kB / 286.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.03449, allocations: 229.1 kB / 286.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.03449, allocations: 0 / 286.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.03463, allocations: 167.7 kB / 286.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.035, allocations: 144.1 kB / 287 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.03611, allocations: 1.157 MB / 288.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.137e-05/0.0362, allocations: 142.2 kB / 288.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.03637, allocations: 106.7 kB / 288.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.03642, allocations: 56.5 kB / 288.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of SimCode: time 3.01e-07/0.03642, allocations: 0 / 288.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Templates: time 0.01122/0.04765, allocations: 8.745 MB / 297.2 MB, free: 4.707 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: 3.109274469781667]