Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 379 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2519, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004659/0.2565, allocations: 2.618 MB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.258, allocations: 0.6428 MB / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.2582, allocations: 4 kB / 435.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.2584, allocations: 55.5 kB / 435.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.2587, allocations: 91.2 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.259, allocations: 83.88 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005191/0.2595, allocations: 378.5 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2597, allocations: 87.3 kB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.26, allocations: 155.4 kB / 436.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.2602, allocations: 139.4 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.2603, allocations: 36 kB / 436.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.2603, allocations: 32 kB / 436.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.2604, allocations: 79.69 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.2606, allocations: 139.4 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.2611, allocations: 380.2 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2611, allocations: 0 / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2611, allocations: 0 / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2611, allocations: 0 / 437.3 MB, free: 1.625 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.001411/0.2625, allocations: 0.5897 MB / 437.9 MB, free: 1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.2625, allocations: 8.031 kB / 437.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2627, allocations: 36.7 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.2631, allocations: 222.9 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.2631, allocations: 20.88 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.2632, allocations: 24.38 kB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.2639, allocations: 354.2 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2639, allocations: 0 / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.264, allocations: 16 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.264, allocations: 8 kB / 438.6 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/0.2648, allocations: 253.5 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.2666, allocations: 0.9306 MB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.2675, allocations: 210.6 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.2678, allocations: 80.8 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2678, allocations: 7.984 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.2683, allocations: 217.2 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.2683, allocations: 0 / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002145/0.2705, allocations: 445.8 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.2705, allocations: 110.8 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.2709, allocations: 264.9 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2709, allocations: 29.7 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2711, allocations: 203.9 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.2711, allocations: 43.69 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2712, allocations: 53.89 kB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2714, allocations: 330.8 kB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.2717, allocations: 121.9 kB / 441.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.2722, allocations: 279.9 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.273, allocations: 308.8 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.273, allocations: 0 / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001299/0.2743, allocations: 457.4 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.2743, allocations: 33.7 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2743, allocations: 7.984 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.2747, allocations: 68.91 kB / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.2749, allocations: 59.83 kB / 443 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.2774, allocations: 1.57 MB / 444.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.2778, allocations: 55.81 kB / 444.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2778, allocations: 8 kB / 444.6 MB, free: 9.75 MB / 350.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.0001804/0.278, allocations: 153.3 kB / 444.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.278, allocations: 23.86 kB / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.2781, allocations: 29.64 kB / 444.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2781, allocations: 4 kB / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2781, allocations: 0 / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2781, allocations: 0 / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2784, allocations: 201.1 kB / 445 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2784, allocations: 7.938 kB / 445 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.2785, allocations: 19.97 kB / 445.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.2788, allocations: 64.81 kB / 445.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2788, allocations: 0 / 445.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.2811, allocations: 1.57 MB / 446.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2811, allocations: 3.938 kB / 446.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2822, allocations: 313.5 kB / 447 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.2823, allocations: 43.77 kB / 447.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.2823, allocations: 4 kB / 447.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2826, allocations: 23.97 kB / 447.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.2827, allocations: 27.95 kB / 447.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2827, allocations: 4 kB / 447.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.2829, allocations: 180.5 kB / 447.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2829, allocations: 0 / 447.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.2833, allocations: 83.84 kB / 447.4 MB, free: 6.855 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.0001393/0.2834, allocations: 103.2 kB / 447.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.2845, allocations: 432.1 kB / 447.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2845, allocations: 0 / 447.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.285, allocations: 226.5 kB / 448.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2853, allocations: 32.42 kB / 448.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2865, allocations: 499.1 kB / 448.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.2867, allocations: 146.8 kB / 448.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.2867, allocations: 23.38 kB / 448.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.2867, allocations: 0 / 448.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.008212/0.2949, allocations: 4.437 MB / 453.2 MB, free: 0.9023 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1132613979279995]