Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001215/0.001215, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.006496/0.006496, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8166/0.8166, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.192e-05, allocations: 10.22 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00252/0.002542, allocations: 2.734 MB / 322.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.003339, allocations: 0.7012 MB / 323.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.003454, allocations: 7.938 kB / 323.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.003584, allocations: 51.5 kB / 323.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.003998, allocations: 107.1 kB / 323.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.004239, allocations: 119.8 kB / 323.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.004557, allocations: 430.1 kB / 323.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.004722, allocations: 83.67 kB / 323.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.004917, allocations: 239.4 kB / 324.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.005057, allocations: 131.6 kB / 324.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.0051, allocations: 40 kB / 324.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.005132, allocations: 40 kB / 324.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.005179, allocations: 83.67 kB / 324.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.005267, allocations: 123.7 kB / 324.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.005584, allocations: 470.5 kB / 325.1 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005586, allocations: 0 / 325.1 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005586, allocations: 0 / 325.1 MB, free: 460 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005591, allocations: 0 / 325.1 MB, free: 460 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000811/0.006402, allocations: 0.6085 MB / 325.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.006433, allocations: 8.031 kB / 325.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.006491, allocations: 36.75 kB / 325.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.006776, allocations: 241.1 kB / 325.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.006795, allocations: 20.88 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.006822, allocations: 24.38 kB / 326 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.007266, allocations: 382.6 kB / 326.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.007277, allocations: 192 / 326.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.007301, allocations: 12.38 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.007308, allocations: 7.938 kB / 326.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.007724, allocations: 289.8 kB / 326.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.008798, allocations: 0.9843 MB / 327.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.00929, allocations: 242.5 kB / 327.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.009452, allocations: 104.8 kB / 328 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.00947, allocations: 4 kB / 328 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.009745, allocations: 233.2 kB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.009746, allocations: 0 / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001125/0.01087, allocations: 0.5865 MB / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.01091, allocations: 102.8 kB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.0111, allocations: 269.9 kB / 329.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.01111, allocations: 29.7 kB / 329.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01121, allocations: 204 kB / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.01124, allocations: 51.58 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.0113, allocations: 49.89 kB / 329.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.01138, allocations: 334.8 kB / 329.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.01156, allocations: 134.1 kB / 330 MB, free: 11.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.01179, allocations: 281.9 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.01241, allocations: 315.7 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.01242, allocations: 4 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006331/0.01305, allocations: 0.4886 MB / 331 MB, free: 10.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.01308, allocations: 37.69 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01309, allocations: 7.938 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.0133, allocations: 84.88 kB / 331.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.0134, allocations: 47.89 kB / 331.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.01479, allocations: 1.86 MB / 333.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.01494, allocations: 51.81 kB / 333.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.01496, allocations: 12 kB / 333.1 MB, free: 7.875 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/0.01506, allocations: 149.7 kB / 333.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.01508, allocations: 35.84 kB / 333.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.0151, allocations: 17.78 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.0151, allocations: 4 kB / 333.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.0151, allocations: 0 / 333.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01511, allocations: 8.016 kB / 333.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.01524, allocations: 209.2 kB / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01525, allocations: 0 / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.01531, allocations: 23.98 kB / 333.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.01546, allocations: 84.73 kB / 333.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01547, allocations: 4 kB / 333.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.01662, allocations: 1.678 MB / 335.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01662, allocations: 0 / 335.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.01712, allocations: 361.6 kB / 335.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.01715, allocations: 27.84 kB / 335.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01716, allocations: 3.938 kB / 335.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01727, allocations: 39.95 kB / 335.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.01733, allocations: 19.97 kB / 335.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01734, allocations: 7.938 kB / 335.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.01745, allocations: 189.2 kB / 336 MB, free: 4.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01745, allocations: 0 / 336 MB, free: 4.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.01767, allocations: 83.84 kB / 336 MB, free: 4.785 MB / 298.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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.754e-05/0.01775, allocations: 102.4 kB / 336.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.01829, allocations: 459.9 kB / 336.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01829, allocations: 8.188 kB / 336.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.01853, allocations: 226.5 kB / 336.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.01873, allocations: 51.77 kB / 336.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.01959, allocations: 0.4917 MB / 337.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.861e-05/0.01967, allocations: 146.9 kB / 337.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.01971, allocations: 24.5 kB / 337.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01971, allocations: 0 / 337.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of Templates: time 0.003985/0.0237, allocations: 4.796 MB / 342.3 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.239751722663641]