Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001685/0.001685, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.00197/0.00197, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.538/1.538, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 47.92 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2499, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00446/0.2544, allocations: 2.822 MB / 426.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2557, allocations: 0.6465 MB / 427.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2558, allocations: 4 kB / 427.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.256, allocations: 55.5 kB / 427.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.2562, allocations: 95.17 kB / 427.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.2565, allocations: 87.89 kB / 427.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.2569, allocations: 374.5 kB / 428 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2571, allocations: 87.34 kB / 428.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2573, allocations: 155.4 kB / 428.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.2576, allocations: 171.3 kB / 428.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.2576, allocations: 32 kB / 428.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.2577, allocations: 36 kB / 428.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.2578, allocations: 71.7 kB / 428.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.2579, allocations: 163.2 kB / 428.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.2584, allocations: 379.7 kB / 429 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2584, allocations: 4 kB / 429 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2584, allocations: 0 / 429 MB, free: 9.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2584, allocations: 0 / 429 MB, free: 9.535 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001307/0.2597, allocations: 0.5819 MB / 429.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2597, allocations: 8.031 kB / 429.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.2598, allocations: 32.75 kB / 429.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.2603, allocations: 226.9 kB / 429.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2603, allocations: 20.88 kB / 429.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.2604, allocations: 24.38 kB / 429.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.2611, allocations: 306.8 kB / 430.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2611, allocations: 0 / 430.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.2611, allocations: 12 kB / 430.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2611, allocations: 8 kB / 430.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.2619, allocations: 241.6 kB / 430.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.2637, allocations: 1.055 MB / 431.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.2646, allocations: 202.6 kB / 431.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.2649, allocations: 84.78 kB / 431.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2649, allocations: 4 kB / 431.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.2653, allocations: 173.7 kB / 432 MB, free: 6.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.2653, allocations: 0 / 432 MB, free: 6.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002094/0.2674, allocations: 441.8 kB / 432.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.2675, allocations: 110.8 kB / 432.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.2679, allocations: 281.8 kB / 432.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2679, allocations: 29.7 kB / 432.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2681, allocations: 200 kB / 433 MB, free: 5.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2681, allocations: 51.61 kB / 433.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.2682, allocations: 53.89 kB / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2684, allocations: 338.8 kB / 433.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.2687, allocations: 88.16 kB / 433.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.2691, allocations: 202.1 kB / 433.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.2698, allocations: 301.4 kB / 434 MB, free: 4.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2698, allocations: 3.938 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001243/0.2711, allocations: 435.2 kB / 434.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.2711, allocations: 29.7 kB / 434.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2712, allocations: 4 kB / 434.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.2715, allocations: 80.83 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2717, allocations: 47.91 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.2744, allocations: 1.604 MB / 436.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.2747, allocations: 55.73 kB / 436.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.2748, allocations: 12 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.2749, allocations: 149.7 kB / 436.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.275, allocations: 27.86 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.275, allocations: 21.7 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.275, allocations: 4 kB / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.275, allocations: 0 / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.275, allocations: 0 / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.2753, allocations: 280.4 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2753, allocations: 0 / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.2755, allocations: 23.91 kB / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.2757, allocations: 65 kB / 436.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2758, allocations: 12 kB / 436.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.2782, allocations: 1.601 MB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2782, allocations: 4.062 kB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2793, allocations: 313.4 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.2794, allocations: 35.83 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2794, allocations: 7.938 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.2797, allocations: 23.97 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.2798, allocations: 31.95 kB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2798, allocations: 4 kB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.28, allocations: 201.1 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.28, allocations: 0 / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000384/0.2804, allocations: 79.89 kB / 439.2 MB, free: 14.72 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.2805, allocations: 99.19 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.2816, allocations: 413.7 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2816, allocations: 0.8125 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.2821, allocations: 223.1 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2824, allocations: 41.16 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.2836, allocations: 490.2 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.2841, allocations: 0.7558 MB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.2842, allocations: 23.38 kB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2842, allocations: 0 / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Templates: time 0.007549/0.2917, allocations: 4.44 MB / 445.6 MB, free: 8.168 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.350391759071499]