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.001734/0.001734, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.001882/0.001882, allocations: 151.1 kB / 23.94 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.479/1.479, allocations: 173.4 MB / 200.4 MB, free: 12.84 MB / 190.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 1.382e-06/1.382e-06, allocations: 0 / 318.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.479e-05, allocations: 3.562 kB / 318.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00325/0.003275, allocations: 2.597 MB / 321.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.004229, allocations: 0.6228 MB / 322.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.004356, allocations: 4.219 kB / 322.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.004496, allocations: 42.38 kB / 322.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.004673, allocations: 97.36 kB / 322.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.004919, allocations: 96.81 kB / 322.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.005282, allocations: 397.6 kB / 322.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.005458, allocations: 78.58 kB / 322.9 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.005703, allocations: 217 kB / 323.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.005882, allocations: 124.1 kB / 323.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.005937, allocations: 34.09 kB / 323.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.005996, allocations: 41.56 kB / 323.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.006061, allocations: 72.89 kB / 323.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.006199, allocations: 114.9 kB / 323.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.006621, allocations: 393.3 kB / 323.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006624, allocations: 5.078 kB / 323.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006625, allocations: 0 / 323.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.006631, allocations: 0 / 323.8 MB, free: 0.5234 MB / 286.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.001348/0.007979, allocations: 0.5798 MB / 324.4 MB, free: 88 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.008034, allocations: 13.73 kB / 324.4 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.814e-05/0.008132, allocations: 33.02 kB / 324.5 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.008744, allocations: 219.3 kB / 324.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.00879, allocations: 19.98 kB / 324.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.00887, allocations: 24.19 kB / 324.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.009773, allocations: 356.8 kB / 325.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.009785, allocations: 1.562 kB / 325.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.00982, allocations: 7.781 kB / 325.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.009831, allocations: 9.438 kB / 325.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008612/0.01069, allocations: 248 kB / 325.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.0126, allocations: 0.9391 MB / 326.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/0.01351, allocations: 203.5 kB / 326.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.01387, allocations: 89.72 kB / 326.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.0139, allocations: 1.703 kB / 326.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.01444, allocations: 217.8 kB / 326.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.01444, allocations: 3.938 kB / 326.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002446/0.01689, allocations: 441.9 kB / 327.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.01698, allocations: 106.1 kB / 327.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.01741, allocations: 264.5 kB / 327.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.01745, allocations: 31.92 kB / 327.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.01762, allocations: 207.2 kB / 327.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.01767, allocations: 39.33 kB / 327.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.01778, allocations: 49.55 kB / 327.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.01795, allocations: 334.7 kB / 328.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.01835, allocations: 124.4 kB / 328.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.01887, allocations: 279.9 kB / 328.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.01971, allocations: 305.4 kB / 328.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01971, allocations: 1.094 kB / 328.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001443/0.02115, allocations: 460.8 kB / 329.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.0212, allocations: 37.81 kB / 329.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.02121, allocations: 3.375 kB / 329.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.02161, allocations: 68 kB / 329.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.02186, allocations: 58.44 kB / 329.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.02462, allocations: 1.582 MB / 331.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.02503, allocations: 51.75 kB / 331.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.02506, allocations: 14.5 kB / 331.2 MB, free: 11.38 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.000216/0.02528, allocations: 140.9 kB / 331.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.02532, allocations: 26.84 kB / 331.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.02538, allocations: 23.61 kB / 331.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02538, allocations: 5.375 kB / 331.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.02538, allocations: 0 / 331.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02539, allocations: 0.7969 kB / 331.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.02569, allocations: 206.2 kB / 331.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02569, allocations: 1.188 kB / 331.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.02583, allocations: 18.64 kB / 331.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.02613, allocations: 67.23 kB / 331.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.02616, allocations: 17.53 kB / 331.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.02867, allocations: 1.562 MB / 333.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02867, allocations: 0.7969 kB / 333.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.02993, allocations: 315.3 kB / 333.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.03003, allocations: 35.81 kB / 333.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.03007, allocations: 9.25 kB / 333.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.03034, allocations: 28.17 kB / 333.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.03044, allocations: 24.19 kB / 333.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.03046, allocations: 2.562 kB / 333.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.0307, allocations: 191.4 kB / 333.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0307, allocations: 0 / 333.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.03114, allocations: 80.39 kB / 333.9 MB, free: 9.297 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.0001484/0.03129, allocations: 98.47 kB / 334 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.03251, allocations: 440.8 kB / 334.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03251, allocations: 0 / 334.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.03301, allocations: 223.4 kB / 334.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.0333, allocations: 36.58 kB / 334.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.03445, allocations: 452.9 kB / 335.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.03458, allocations: 140.7 kB / 335.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.03467, allocations: 25.66 kB / 335.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.03473, allocations: 23.66 kB / 335.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.03473, allocations: 0 / 335.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Templates: time 0.008996/0.04373, allocations: 4.046 MB / 339.4 MB, free: 6.195 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/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: 4.460873059928417]