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.001579/0.001579, allocations: 87.66 kB / 20.68 MB, free: 1.02 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.001687/0.001687, allocations: 165.6 kB / 23.95 MB, free: 4.148 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.524/1.524, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.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 1.974e-06/1.974e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.858e-05, allocations: 3.406 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004357/0.004386, allocations: 2.629 MB / 327.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.006003, allocations: 0.6562 MB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.00629, allocations: 4.531 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.00651, allocations: 49.58 kB / 328.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.006866, allocations: 101.3 kB / 328.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.007224, allocations: 88.16 kB / 328.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.007909, allocations: 385.8 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.008143, allocations: 85.27 kB / 329 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.008588, allocations: 223.4 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.008892, allocations: 119.6 kB / 329.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.008983, allocations: 34.19 kB / 329.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.009071, allocations: 34.22 kB / 329.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.009166, allocations: 76.7 kB / 329.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.009395, allocations: 122.4 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.01005, allocations: 386.5 kB / 330 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01005, allocations: 0 / 330 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01005, allocations: 0 / 330 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.01007, allocations: 1.031 kB / 330 MB, free: 13.44 MB / 302.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.001537/0.01161, allocations: 0.593 MB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01164, allocations: 8.344 kB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.01174, allocations: 34.28 kB / 330.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.0122, allocations: 222.1 kB / 330.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.01222, allocations: 15 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.01228, allocations: 25.25 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/0.0131, allocations: 356.1 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01311, allocations: 1.281 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.01315, allocations: 10.62 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01316, allocations: 9.938 kB / 331.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.01406, allocations: 255.3 kB / 331.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.01594, allocations: 0.9277 MB / 332.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.01682, allocations: 205.8 kB / 332.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.01718, allocations: 86.91 kB / 332.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.01721, allocations: 1.312 kB / 332.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.01773, allocations: 223.3 kB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 3.707e-06/0.01774, allocations: 4 kB / 332.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002258/0.02, allocations: 438.2 kB / 333.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.02008, allocations: 112.4 kB / 333.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.0204, allocations: 265.6 kB / 333.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.02043, allocations: 27.77 kB / 333.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.0206, allocations: 210.1 kB / 334 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.02065, allocations: 45.59 kB / 334 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.02076, allocations: 55.48 kB / 334.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.021, allocations: 331.8 kB / 334.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.0214, allocations: 119.3 kB / 334.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.02191, allocations: 279.9 kB / 334.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.02271, allocations: 304.3 kB / 335.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.02271, allocations: 1.219 kB / 335.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001405/0.02412, allocations: 457.1 kB / 335.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.02417, allocations: 36.12 kB / 335.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.02418, allocations: 8.141 kB / 335.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.02456, allocations: 73.34 kB / 335.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.02479, allocations: 48.77 kB / 335.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.02752, allocations: 1.58 MB / 337.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.02791, allocations: 55.2 kB / 337.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.02793, allocations: 8.906 kB / 337.3 MB, free: 7.5 MB / 302.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.0001863/0.02812, allocations: 142.2 kB / 337.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.02817, allocations: 26.17 kB / 337.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.02823, allocations: 31.08 kB / 337.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.02823, allocations: 1.312 kB / 337.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02823, allocations: 1.219 kB / 337.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.02823, allocations: 0 / 337.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.02851, allocations: 206.2 kB / 337.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02852, allocations: 3.938 kB / 337.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.02865, allocations: 23.12 kB / 337.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.02895, allocations: 65.56 kB / 337.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.02897, allocations: 8.922 kB / 337.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.03136, allocations: 1.569 MB / 339.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03136, allocations: 1.156 kB / 339.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.03259, allocations: 303.9 kB / 339.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.03272, allocations: 34.92 kB / 339.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.03277, allocations: 5.344 kB / 339.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.03305, allocations: 36.39 kB / 339.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.03315, allocations: 23.34 kB / 339.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.03317, allocations: 6.281 kB / 339.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.03354, allocations: 187.8 kB / 340 MB, free: 5.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03354, allocations: 0 / 340 MB, free: 5.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.03402, allocations: 80.62 kB / 340.1 MB, free: 5.234 MB / 302.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.0001828/0.0342, allocations: 101.3 kB / 340.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.03544, allocations: 435.3 kB / 340.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.03545, allocations: 4 kB / 340.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.036, allocations: 227.3 kB / 340.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.03632, allocations: 32.48 kB / 340.8 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.03764, allocations: 451 kB / 341.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.03782, allocations: 142.9 kB / 341.4 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.03794, allocations: 26.27 kB / 341.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.03802, allocations: 24.5 kB / 341.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.03803, allocations: 0 / 341.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of Templates: time 0.01012/0.04815, allocations: 4.064 MB / 345.5 MB, free: 15.8 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/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: 4.595332819968462]