Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001774/0.001774, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002436/0.002436, allocations: 217 kB / 23.75 MB, free: 4.668 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 43.94 kB / 378.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 53.37 MB / 431.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004556/0.2589, allocations: 2.982 MB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2604, allocations: 0.7674 MB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2605, allocations: 8 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2607, allocations: 47.5 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.2609, allocations: 107.2 kB / 435.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2612, allocations: 119.8 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.2617, allocations: 414.4 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.2619, allocations: 95.66 kB / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2622, allocations: 159.4 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.2625, allocations: 179.2 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.2625, allocations: 40 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.2626, allocations: 40 kB / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2627, allocations: 75.7 kB / 436.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.2629, allocations: 179.2 kB / 436.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.2635, allocations: 451.5 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2635, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2635, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2635, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001332/0.2648, allocations: 0.6091 MB / 437.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2649, allocations: 12.03 kB / 437.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.2649, allocations: 40.7 kB / 437.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.2654, allocations: 249.8 kB / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2654, allocations: 20.88 kB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.2655, allocations: 24.38 kB / 438.2 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.2662, allocations: 331 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2662, allocations: 3.938 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.2663, allocations: 12 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2663, allocations: 4 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008367/0.2671, allocations: 289.8 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.2691, allocations: 1.108 MB / 440 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.2699, allocations: 238.6 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.2703, allocations: 100.8 kB / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2703, allocations: 0 / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004868/0.2708, allocations: 185.8 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2708, allocations: 0 / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002352/0.2731, allocations: 0.5877 MB / 441.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.2732, allocations: 106.8 kB / 441.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.2735, allocations: 281.8 kB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.2736, allocations: 33.7 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.2737, allocations: 196.1 kB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.2738, allocations: 51.8 kB / 441.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.2739, allocations: 45.94 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.274, allocations: 342.8 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.2744, allocations: 108.3 kB / 442.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.2748, allocations: 204.8 kB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.2756, allocations: 310.6 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2756, allocations: 0 / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001318/0.2769, allocations: 471.7 kB / 443.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.277, allocations: 37.69 kB / 443.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.277, allocations: 4 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.2774, allocations: 88.86 kB / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.2776, allocations: 47.91 kB / 443.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.2804, allocations: 1.894 MB / 445.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2808, allocations: 47.81 kB / 445.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2808, allocations: 16.03 kB / 445.3 MB, free: 8.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.281, allocations: 161.7 kB / 445.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.281, allocations: 23.86 kB / 445.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.2811, allocations: 25.77 kB / 445.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2811, allocations: 0 / 445.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2811, allocations: 4 kB / 445.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2811, allocations: 0 / 445.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.2814, allocations: 296.4 kB / 445.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2814, allocations: 3.984 kB / 445.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2816, allocations: 19.98 kB / 445.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.2819, allocations: 84.92 kB / 445.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2819, allocations: 11.94 kB / 445.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.2843, allocations: 1.697 MB / 447.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2843, allocations: 0 / 447.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2855, allocations: 373.3 kB / 448 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2855, allocations: 23.81 kB / 448 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.2855, allocations: 8 kB / 448 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.2858, allocations: 39.89 kB / 448 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.2859, allocations: 19.97 kB / 448.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2859, allocations: 4 kB / 448.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.2861, allocations: 205.1 kB / 448.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2861, allocations: 0 / 448.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.2865, allocations: 79.89 kB / 448.4 MB, free: 5.512 MB / 350.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.2867, allocations: 103.2 kB / 448.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2877, allocations: 421.8 kB / 448.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2877, allocations: 0 / 448.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.2883, allocations: 239 kB / 449.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2886, allocations: 67.52 kB / 449.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2898, allocations: 488.3 kB / 449.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.2902, allocations: 0.7558 MB / 450.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.2903, allocations: 26.28 kB / 450.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.2904, allocations: 19.44 kB / 450.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2904, allocations: 0 / 450.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of Templates: time 0.009482/0.2998, allocations: 4.367 MB / 454.8 MB, free: 15 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.765269255032763]