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.001884/0.001884, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002144/0.002144, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001601/0.001601, allocations: 51.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 53.38 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005922/0.2337, allocations: 4.64 MB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.244, allocations: 7.887 MB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.2446, allocations: 59.38 kB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.2457, allocations: 361.5 kB / 445.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.2483, allocations: 0.8342 MB / 446.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.2501, allocations: 0.6065 MB / 446.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.2527, allocations: 1.725 MB / 448.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.253, allocations: 99.34 kB / 448.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.2535, allocations: 334.4 kB / 448.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.2539, allocations: 294.1 kB / 449.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.2539, allocations: 28 kB / 449.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.2553, allocations: 0.5813 MB / 449.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.2554, allocations: 107.3 kB / 449.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.2557, allocations: 302.1 kB / 450.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.2572, allocations: 1.233 MB / 451.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2572, allocations: 0 / 451.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2572, allocations: 0 / 451.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2572, allocations: 0 / 451.4 MB, free: 3.594 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.001932/0.2591, allocations: 1.238 MB / 452.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2592, allocations: 12.02 kB / 452.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.2595, allocations: 132.2 kB / 452.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.2607, allocations: 0.7888 MB / 453.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.2608, allocations: 20.5 kB / 453.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.2608, allocations: 23.95 kB / 453.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.2614, allocations: 341.5 kB / 453.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2614, allocations: 0 / 453.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2614, allocations: 12 kB / 453.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2614, allocations: 4 kB / 453.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.2618, allocations: 234 kB / 454.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2635, allocations: 1.032 MB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.2639, allocations: 178.6 kB / 455.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.2642, allocations: 197.2 kB / 455.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/0.2709, allocations: 3.095 MB / 458.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.271, allocations: 38.56 kB / 458.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.271, allocations: 4 kB / 458.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001588/0.2725, allocations: 0.5733 MB / 459.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.2726, allocations: 85.05 kB / 459.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.2735, allocations: 0.782 MB / 460.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2736, allocations: 29.7 kB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.2739, allocations: 444.8 kB / 460.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.274, allocations: 83.25 kB / 460.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.2741, allocations: 53.94 kB / 460.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2743, allocations: 322 kB / 461.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.2744, allocations: 64.2 kB / 461.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2746, allocations: 175.5 kB / 461.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.275, allocations: 240.1 kB / 461.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.275, allocations: 0 / 461.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006297/0.2756, allocations: 412 kB / 461.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2756, allocations: 4 kB / 461.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.2757, allocations: 19.98 kB / 462 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.276, allocations: 137 kB / 462.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2762, allocations: 39.91 kB / 462.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006964/0.2769, allocations: 0.6992 MB / 462.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.2771, allocations: 31.8 kB / 462.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.2772, allocations: 20 kB / 462.9 MB, free: 7.723 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.0002612/0.2774, allocations: 193.8 kB / 463.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.2776, allocations: 103.3 kB / 463.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.2783, allocations: 399.3 kB / 463.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.2784, allocations: 15.91 kB / 463.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2784, allocations: 0 / 463.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2784, allocations: 0 / 463.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.2789, allocations: 422.3 kB / 464 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/0.2789, allocations: 16 kB / 464 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.279, allocations: 19.98 kB / 464 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002846/0.2793, allocations: 140.7 kB / 464.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2794, allocations: 8 kB / 464.2 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006408/0.28, allocations: 0.7046 MB / 464.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.28, allocations: 3.938 kB / 464.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.2806, allocations: 451.1 kB / 465.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.2808, allocations: 99.3 kB / 465.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.2809, allocations: 0 / 465.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2811, allocations: 8 kB / 465.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.2811, allocations: 15.97 kB / 465.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2812, allocations: 12 kB / 465.4 MB, free: 5.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006356/0.2818, allocations: 0.5261 MB / 466 MB, free: 4.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2818, allocations: 0 / 466 MB, free: 4.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.2824, allocations: 207.7 kB / 466.2 MB, free: 4.316 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.0004919/0.2829, allocations: 287.3 kB / 466.5 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.2835, allocations: 271.3 kB / 466.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2835, allocations: 4 kB / 466.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.2838, allocations: 171.8 kB / 466.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.2845, allocations: 154.9 kB / 467 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.2864, allocations: 1.28 MB / 468.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2868, allocations: 349.3 kB / 468.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.2868, allocations: 47.44 kB / 468.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2868, allocations: 0 / 468.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of Templates: time 0.02025/0.3071, allocations: 14.86 MB / 483.6 MB, free: 2.84 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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: 7.937983524054289]