Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001403/0.001403, allocations: 88.33 kB / 20.96 MB, free: 3.449 MB / 18.57 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.001496/0.001496, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.102e-05/4.268e-05, allocations: 6.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004768/0.004811, allocations: 2.634 MB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.006469, allocations: 0.6505 MB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.006731, allocations: 7.938 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.006995, allocations: 43.56 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.007353, allocations: 99.14 kB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.007728, allocations: 91.75 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.008369, allocations: 390.3 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.008596, allocations: 87.33 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.008997, allocations: 215.5 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.009236, allocations: 123.7 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.00931, allocations: 36 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.00938, allocations: 32 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.495e-05/0.009475, allocations: 83.66 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.00965, allocations: 111.8 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.01019, allocations: 386.8 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01019, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01019, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.0102, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 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.001481/0.01169, allocations: 0.5858 MB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01172, allocations: 11.97 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.01187, allocations: 52.75 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.01233, allocations: 230.1 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.01236, allocations: 16.88 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.0124, allocations: 28.38 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.01321, allocations: 350.6 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01322, allocations: 192 / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.01326, allocations: 12.38 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.01327, allocations: 11.92 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.01413, allocations: 249.8 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.01603, allocations: 0.9399 MB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.0169, allocations: 206.6 kB / 280 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.01723, allocations: 88.78 kB / 280 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.01726, allocations: 0 / 280 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.0178, allocations: 225.2 kB / 280.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.0178, allocations: 0 / 280.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002183/0.01999, allocations: 433.9 kB / 280.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.02008, allocations: 118.8 kB / 280.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.02045, allocations: 261.8 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.02049, allocations: 33.7 kB / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.02068, allocations: 203.9 kB / 281.3 MB, free: 8.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.02073, allocations: 35.69 kB / 281.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.02085, allocations: 57.89 kB / 281.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.02105, allocations: 330.8 kB / 281.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.02144, allocations: 125.8 kB / 281.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.02198, allocations: 291.2 kB / 282.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.02278, allocations: 301.5 kB / 282.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.02278, allocations: 4 kB / 282.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001654/0.02443, allocations: 465.3 kB / 282.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.02449, allocations: 29.7 kB / 282.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.0245, allocations: 4 kB / 282.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006983/0.0252, allocations: 116.8 kB / 283 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.02543, allocations: 47.91 kB / 283.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.0283, allocations: 1.589 MB / 284.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.02869, allocations: 51.75 kB / 284.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.02872, allocations: 12 kB / 284.7 MB, free: 4.867 MB / 266.7 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.0002064/0.02893, allocations: 145.8 kB / 284.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.02898, allocations: 27.8 kB / 284.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.02904, allocations: 33.77 kB / 284.9 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.02905, allocations: 0 / 284.9 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.02905, allocations: 4.172 kB / 284.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.02906, allocations: 0 / 284.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.02933, allocations: 213.1 kB / 285.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02933, allocations: 0 / 285.1 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.02946, allocations: 23.97 kB / 285.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/0.03, allocations: 100.8 kB / 285.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.03003, allocations: 11.94 kB / 285.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.03258, allocations: 1.558 MB / 286.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.03258, allocations: 0 / 286.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.03369, allocations: 313.7 kB / 287.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.03379, allocations: 39.78 kB / 287.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.03383, allocations: 11.94 kB / 287.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.03408, allocations: 27.95 kB / 287.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.03418, allocations: 23.97 kB / 287.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.0342, allocations: 7.984 kB / 287.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.03444, allocations: 181.2 kB / 287.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03444, allocations: 4 kB / 287.4 MB, free: 1.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.03484, allocations: 79.84 kB / 287.5 MB, free: 1.91 MB / 266.7 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.0001534/0.035, allocations: 107.2 kB / 287.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.03613, allocations: 434.7 kB / 288 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.03613, allocations: 0 / 288 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.03665, allocations: 218.4 kB / 288.2 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.03697, allocations: 52.89 kB / 288.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.03822, allocations: 449.4 kB / 288.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.03841, allocations: 150.7 kB / 288.9 MB, free: 444 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.03851, allocations: 22.28 kB / 288.9 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.03858, allocations: 20.5 kB / 288.9 MB, free: 404 kB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03858, allocations: 0 / 288.9 MB, free: 404 kB / 266.7 MB Notification: Performance of Templates: time 0.009718/0.0483, allocations: 4.099 MB / 293 MB, free: 12.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.429273786954582]