Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001762/0.001762, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002238/0.002238, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 51.92 kB / 378.2 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2236, allocations: 53.37 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005862/0.2295, allocations: 4.646 MB / 436.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2398, allocations: 7.883 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.2404, allocations: 59.31 kB / 444.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008913/0.2413, allocations: 357.5 kB / 444.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.2435, allocations: 0.8458 MB / 445.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.245, allocations: 0.6065 MB / 446 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.2477, allocations: 1.721 MB / 447.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.248, allocations: 99.33 kB / 447.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.2485, allocations: 334.4 kB / 448.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.2489, allocations: 302 kB / 448.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.249, allocations: 28 kB / 448.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2503, allocations: 0.5737 MB / 449 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.2504, allocations: 99.33 kB / 449.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.2507, allocations: 306.1 kB / 449.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2522, allocations: 1.233 MB / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2522, allocations: 0 / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2522, allocations: 3.938 kB / 450.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2522, allocations: 0 / 450.6 MB, free: 3.582 MB / 350.1 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.001963/0.2542, allocations: 1.238 MB / 451.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2542, allocations: 8.031 kB / 451.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.2545, allocations: 136.2 kB / 452 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.2558, allocations: 0.7811 MB / 452.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2559, allocations: 16.5 kB / 452.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2559, allocations: 27.95 kB / 452.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.2565, allocations: 341.5 kB / 453.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2565, allocations: 0 / 453.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.2565, allocations: 8 kB / 453.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2565, allocations: 8 kB / 453.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.2569, allocations: 234 kB / 453.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.2587, allocations: 1.032 MB / 454.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.2591, allocations: 174.5 kB / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.2594, allocations: 197.4 kB / 454.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006872/0.2663, allocations: 3.095 MB / 457.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.2663, allocations: 38.56 kB / 457.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.2663, allocations: 0 / 457.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001626/0.2679, allocations: 0.585 MB / 458.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.268, allocations: 81.11 kB / 458.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.269, allocations: 0.782 MB / 459.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.269, allocations: 29.7 kB / 459.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.2694, allocations: 444.8 kB / 459.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.2695, allocations: 79.27 kB / 459.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.2696, allocations: 57.94 kB / 460 MB, free: 9.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2697, allocations: 314 kB / 460.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.2699, allocations: 72.2 kB / 460.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2701, allocations: 175.5 kB / 460.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.2705, allocations: 232.1 kB / 460.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2705, allocations: 3.938 kB / 460.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006519/0.2712, allocations: 409.5 kB / 461.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2712, allocations: 8 kB / 461.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/0.2712, allocations: 16 kB / 461.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.2716, allocations: 141 kB / 461.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2718, allocations: 39.91 kB / 461.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007201/0.2725, allocations: 0.7046 MB / 462.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.2727, allocations: 23.84 kB / 462.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.2728, allocations: 12 kB / 462.1 MB, free: 7.727 MB / 366.1 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.0002493/0.273, allocations: 193.8 kB / 462.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.2731, allocations: 111.4 kB / 462.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.274, allocations: 403.2 kB / 462.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.274, allocations: 7.938 kB / 462.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.274, allocations: 0 / 462.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.274, allocations: 0 / 462.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.2745, allocations: 422.3 kB / 463.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/0.2746, allocations: 12 kB / 463.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.2747, allocations: 19.97 kB / 463.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.275, allocations: 139.4 kB / 463.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.275, allocations: 8 kB / 463.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006707/0.2757, allocations: 0.7084 MB / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2757, allocations: 0 / 464.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.2763, allocations: 455.2 kB / 464.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.2765, allocations: 95.31 kB / 464.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.2766, allocations: 0 / 464.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.2768, allocations: 8 kB / 464.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.2768, allocations: 15.97 kB / 464.7 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2768, allocations: 12 kB / 464.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006829/0.2775, allocations: 0.5261 MB / 465.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2775, allocations: 4.062 kB / 465.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.2781, allocations: 207.5 kB / 465.4 MB, free: 4.32 MB / 366.1 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.0005117/0.2786, allocations: 295.2 kB / 465.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.2792, allocations: 270.1 kB / 466 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2792, allocations: 0.5625 kB / 466 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.2795, allocations: 171.3 kB / 466.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.2803, allocations: 168.1 kB / 466.3 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2822, allocations: 1.235 MB / 467.5 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2825, allocations: 345.3 kB / 467.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.2828, allocations: 114.6 kB / 468 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.2829, allocations: 51.44 kB / 468 MB, free: 1.602 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2829, allocations: 0 / 468 MB, free: 1.602 MB / 366.1 MB Notification: Performance of Templates: time 0.01847/0.3014, allocations: 9.842 MB / 477.9 MB, free: 7.879 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.789885552600026]