Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.0007786/0.0007786, allocations: 84 kB / 21.43 MB, free: 3.133 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.003417/0.003417, allocations: 140.5 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.812/0.812, allocations: 173.4 MB / 201.2 MB, free: 9.414 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.537e-05, allocations: 6.219 kB / 319.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002338/0.002353, allocations: 2.676 MB / 322.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.003123, allocations: 0.7012 MB / 323.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003225, allocations: 4 kB / 323.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.003345, allocations: 43.52 kB / 323.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.003471, allocations: 111.2 kB / 323.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.003683, allocations: 115.7 kB / 323.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.003963, allocations: 398.3 kB / 323.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.004111, allocations: 87.61 kB / 323.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.004314, allocations: 227.5 kB / 324.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.004432, allocations: 119.6 kB / 324.2 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.00447, allocations: 40 kB / 324.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/0.0045, allocations: 40 kB / 324.3 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.004547, allocations: 83.67 kB / 324.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.004627, allocations: 111.7 kB / 324.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.004916, allocations: 438.7 kB / 324.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004918, allocations: 0 / 324.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004918, allocations: 0 / 324.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.004922, allocations: 0 / 324.9 MB, free: 0.6094 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007836/0.005706, allocations: 0.5849 MB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.005733, allocations: 8.031 kB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.005784, allocations: 40.7 kB / 325.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.006029, allocations: 226.2 kB / 325.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.006044, allocations: 20.88 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.006077, allocations: 28.38 kB / 325.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.006478, allocations: 344.9 kB / 326.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.006488, allocations: 192 / 326.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.006508, allocations: 12.38 kB / 326.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006515, allocations: 7.938 kB / 326.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.006908, allocations: 269.8 kB / 326.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.007945, allocations: 0.9992 MB / 327.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.008415, allocations: 246.5 kB / 327.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.008568, allocations: 96.8 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.008585, allocations: 3.984 kB / 327.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.00883, allocations: 190.7 kB / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.008831, allocations: 0 / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009851/0.009816, allocations: 0.5174 MB / 328.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.009856, allocations: 85.11 kB / 328.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.01002, allocations: 253.9 kB / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.01004, allocations: 33.7 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.01013, allocations: 207.9 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.01016, allocations: 35.7 kB / 329.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.01021, allocations: 49.7 kB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.01029, allocations: 334.8 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.01047, allocations: 125.9 kB / 329.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01068, allocations: 258.8 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.01103, allocations: 307.4 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01103, allocations: 4 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005945/0.01163, allocations: 473.6 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.01165, allocations: 33.77 kB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01166, allocations: 7.938 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.01184, allocations: 64.81 kB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01195, allocations: 55.89 kB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.01309, allocations: 1.506 MB / 332.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01323, allocations: 59.89 kB / 332.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.01325, allocations: 8 kB / 332.3 MB, free: 8.715 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.01334, allocations: 149.7 kB / 332.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.01336, allocations: 23.8 kB / 332.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.01339, allocations: 25.77 kB / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01339, allocations: 0 / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01339, allocations: 0 / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01339, allocations: 0 / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.01353, allocations: 221.1 kB / 332.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01353, allocations: 0 / 332.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.01362, allocations: 35.97 kB / 332.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.01373, allocations: 60.75 kB / 332.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01374, allocations: 8 kB / 332.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009526/0.0147, allocations: 1.494 MB / 334.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0147, allocations: 0 / 334.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.01534, allocations: 457.9 kB / 334.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01536, allocations: 19.89 kB / 334.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01538, allocations: 4 kB / 334.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.01548, allocations: 31.95 kB / 334.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.01553, allocations: 19.97 kB / 334.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01554, allocations: 3.938 kB / 334.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.01564, allocations: 189.2 kB / 335 MB, free: 5.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01564, allocations: 4 kB / 335 MB, free: 5.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000193/0.01584, allocations: 71.83 kB / 335.1 MB, free: 5.754 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 7.244e-05/0.01591, allocations: 95.25 kB / 335.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005203/0.01643, allocations: 435.7 kB / 335.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01643, allocations: 7.875 kB / 335.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.01664, allocations: 219.1 kB / 335.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01683, allocations: 46.28 kB / 335.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.01845, allocations: 0.8556 MB / 336.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.01852, allocations: 142.8 kB / 336.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.01857, allocations: 24.5 kB / 336.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01858, allocations: 0 / 336.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of Templates: time 0.004018/0.02259, allocations: 4.631 MB / 341.5 MB, free: 15.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.290287337265909]