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.001358/0.001358, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.001393/0.001393, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001609/0.001609, allocations: 55.91 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006405/0.2456, allocations: 4.638 MB / 427.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.2566, allocations: 7.835 MB / 435.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.2572, allocations: 59.31 kB / 435.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.2582, allocations: 360.1 kB / 435.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.2605, allocations: 0.8458 MB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.2619, allocations: 0.5948 MB / 437.4 MB, free: 112 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.2643, allocations: 1.69 MB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2645, allocations: 107.4 kB / 439.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.2649, allocations: 330.4 kB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.2653, allocations: 302 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.2654, allocations: 32 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.2665, allocations: 0.5542 MB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2666, allocations: 107.3 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.2669, allocations: 306.1 kB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.2684, allocations: 1.21 MB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2684, allocations: 3.984 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2684, allocations: 0 / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.2684, allocations: 0 / 442 MB, free: 11.46 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.002092/0.2705, allocations: 1.234 MB / 443.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2705, allocations: 15.97 kB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2707, allocations: 120.2 kB / 443.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.272, allocations: 0.7811 MB / 444.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2721, allocations: 16.5 kB / 444.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.2721, allocations: 24 kB / 444.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.2727, allocations: 337.5 kB / 444.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2727, allocations: 0 / 444.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2727, allocations: 8 kB / 444.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.2727, allocations: 11.98 kB / 444.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.2732, allocations: 234 kB / 444.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2749, allocations: 1.04 MB / 445.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.2753, allocations: 178.6 kB / 446 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.2756, allocations: 201.2 kB / 446.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006592/0.2822, allocations: 3.079 MB / 449.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2822, allocations: 34.56 kB / 449.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.392e-06/0.2822, allocations: 0 / 449.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001603/0.2838, allocations: 0.587 MB / 449.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.2839, allocations: 81.11 kB / 450 MB, free: 3.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009359/0.2848, allocations: 0.7781 MB / 450.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2848, allocations: 29.7 kB / 450.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.2852, allocations: 452.8 kB / 451.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.2853, allocations: 79.27 kB / 451.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.2854, allocations: 61.89 kB / 451.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2856, allocations: 317.9 kB / 451.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2857, allocations: 68.2 kB / 451.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.2859, allocations: 172.8 kB / 451.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2863, allocations: 228.4 kB / 452.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2863, allocations: 0 / 452.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006523/0.287, allocations: 415.1 kB / 452.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.287, allocations: 11.98 kB / 452.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.287, allocations: 16 kB / 452.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.2874, allocations: 136.7 kB / 452.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2876, allocations: 35.91 kB / 452.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007167/0.2883, allocations: 0.7125 MB / 453.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.2885, allocations: 23.84 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.2886, allocations: 12 kB / 453.5 MB, free: 15.62 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.0002399/0.2888, allocations: 197.7 kB / 453.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.2889, allocations: 107.3 kB / 453.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/0.2897, allocations: 403.5 kB / 454.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2897, allocations: 3.938 kB / 454.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2897, allocations: 4 kB / 454.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2897, allocations: 0 / 454.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.2903, allocations: 426.1 kB / 454.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/0.2903, allocations: 12 kB / 454.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2904, allocations: 15.98 kB / 454.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.2907, allocations: 147.3 kB / 454.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.2907, allocations: 4 kB / 454.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.2914, allocations: 0.7007 MB / 455.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.2914, allocations: 3.938 kB / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.292, allocations: 459 kB / 455.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.2922, allocations: 91.33 kB / 456 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.2923, allocations: 4 kB / 456 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2925, allocations: 8 kB / 456 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.2925, allocations: 11.97 kB / 456 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.2926, allocations: 16 kB / 456 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000663/0.2932, allocations: 0.53 MB / 456.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2932, allocations: 0 / 456.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.2938, allocations: 195.6 kB / 456.7 MB, free: 12.22 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.0005548/0.2944, allocations: 303.1 kB / 457 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006208/0.295, allocations: 267.1 kB / 457.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.295, allocations: 0 / 457.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.2953, allocations: 167.3 kB / 457.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/0.2961, allocations: 160.7 kB / 457.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.2981, allocations: 1.238 MB / 458.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.2985, allocations: 353.3 kB / 459.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.2988, allocations: 106.7 kB / 459.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.2988, allocations: 55.44 kB / 459.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2988, allocations: 0 / 459.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of Templates: time 0.01873/0.3176, allocations: 9.803 MB / 469.2 MB, free: 15.83 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.700714483857155]