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.001389/0.001389, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001606/0.001606, allocations: 151.6 kB / 24.81 MB, free: 9.277 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.971/0.971, allocations: 173.4 MB / 201.4 MB, free: 9.195 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.412e-06/1.412e-06, allocations: 0 / 268.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.294e-05, allocations: 6.312 kB / 268.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002892/0.002915, allocations: 2.9 MB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004114, allocations: 0.7167 MB / 272.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.004279, allocations: 11.94 kB / 272.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.004423, allocations: 43.56 kB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.004586, allocations: 107.1 kB / 272.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.004854, allocations: 119.8 kB / 272.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.005211, allocations: 430.2 kB / 272.8 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.00537, allocations: 91.59 kB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.005613, allocations: 235.4 kB / 273.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.005763, allocations: 143.6 kB / 273.2 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.005807, allocations: 40 kB / 273.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.005847, allocations: 40 kB / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.005901, allocations: 83.67 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.005988, allocations: 119.7 kB / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.006241, allocations: 263.1 kB / 273.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.006244, allocations: 0 / 273.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006244, allocations: 0 / 273.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006249, allocations: 0 / 273.8 MB, free: 0.8008 MB / 250.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.0008021/0.007051, allocations: 0.6856 MB / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.007099, allocations: 12.03 kB / 274.4 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.007173, allocations: 48.75 kB / 274.5 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.007455, allocations: 236 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.007474, allocations: 20.88 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.007503, allocations: 28.38 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.007845, allocations: 296.9 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.007855, allocations: 192 / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.007877, allocations: 12.38 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007886, allocations: 11.88 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.007999, allocations: 75.44 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.009157, allocations: 1.041 MB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.009354, allocations: 115.1 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.009392, allocations: 27.67 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.009413, allocations: 7.984 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.009564, allocations: 179.3 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.009565, allocations: 0 / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006158/0.01018, allocations: 288.9 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.01023, allocations: 110.8 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01041, allocations: 308 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.01043, allocations: 25.7 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01054, allocations: 250.7 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.01057, allocations: 39.67 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.01064, allocations: 63.53 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.01079, allocations: 0.504 MB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.01085, allocations: 58.08 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.01099, allocations: 245.6 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.01117, allocations: 200.7 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01118, allocations: 4 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003653/0.01154, allocations: 308.3 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.01158, allocations: 41.69 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01159, allocations: 4.281 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.01183, allocations: 83.58 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.01192, allocations: 43.97 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.01308, allocations: 2.114 MB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01322, allocations: 43.86 kB / 281.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01324, allocations: 12 kB / 281.2 MB, free: 8.727 MB / 266.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 0.0001061/0.01335, allocations: 172.5 kB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.01338, allocations: 35.78 kB / 281.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.0134, allocations: 17.78 kB / 281.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.0134, allocations: 4 kB / 281.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01341, allocations: 0 / 281.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01341, allocations: 3.984 kB / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.01355, allocations: 181.1 kB / 281.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01355, allocations: 4 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.01359, allocations: 16.11 kB / 281.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.01376, allocations: 75.62 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01377, allocations: 8 kB / 281.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009651/0.01474, allocations: 1.854 MB / 283.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01474, allocations: 0 / 283.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.01498, allocations: 207.8 kB / 283.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.01501, allocations: 24.03 kB / 283.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.01502, allocations: 8 kB / 283.8 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.0151, allocations: 19.98 kB / 283.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.01515, allocations: 27.89 kB / 283.9 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01516, allocations: 3.938 kB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.01526, allocations: 205.1 kB / 284.1 MB, free: 5.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01526, allocations: 0 / 284.1 MB, free: 5.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.01551, allocations: 83.84 kB / 284.2 MB, free: 5.617 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 (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 0.0001196/0.01563, allocations: 103.2 kB / 284.3 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.01596, allocations: 373.8 kB / 284.6 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01596, allocations: 4.688 kB / 284.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.01611, allocations: 241.3 kB / 284.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01632, allocations: 36.48 kB / 284.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.01705, allocations: 445.9 kB / 285.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.812e-05/0.0171, allocations: 84.31 kB / 285.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.01717, allocations: 26.28 kB / 285.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.0173, allocations: 126.2 kB / 285.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0173, allocations: 0 / 285.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of Templates: time 0.1024/0.1197, allocations: 4.4 MB / 290 MB, free: 30.04 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.826810757163912]