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.001306/0.001306, allocations: 78.28 kB / 21.42 MB, free: 3.07 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.001361/0.001361, allocations: 152.7 kB / 24.8 MB, free: 9.273 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 1.072/1.072, allocations: 173.3 MB / 201.4 MB, free: 9.254 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.873e-06/1.873e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.528e-05, allocations: 2.312 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.01126/0.01129, allocations: 2.837 MB / 271.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.01253, allocations: 0.7089 MB / 272 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.01268, allocations: 7.938 kB / 272 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.01285, allocations: 43.58 kB / 272 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.01306, allocations: 111.1 kB / 272.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.01335, allocations: 107.8 kB / 272.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005261/0.01388, allocations: 398.3 kB / 272.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.01709, allocations: 95.58 kB / 272.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.01744, allocations: 231.4 kB / 273 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.01763, allocations: 127.6 kB / 273.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.01769, allocations: 40 kB / 273.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.01775, allocations: 36 kB / 273.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.01781, allocations: 87.66 kB / 273.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.01793, allocations: 119.7 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.01824, allocations: 239.1 kB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01824, allocations: 0 / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01824, allocations: 0 / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.01825, allocations: 0 / 273.6 MB, free: 1.012 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009048/0.01915, allocations: 0.6691 MB / 274.3 MB, free: 304 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.01919, allocations: 12.02 kB / 274.3 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.01928, allocations: 56.7 kB / 274.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.01957, allocations: 225.1 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.01959, allocations: 20.88 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.01963, allocations: 24.38 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.02307, allocations: 267.2 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.02308, allocations: 192 / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.0231, allocations: 8.375 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.02311, allocations: 7.938 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.02327, allocations: 75.44 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.02496, allocations: 1.052 MB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.02524, allocations: 107.1 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.02529, allocations: 27.67 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.02532, allocations: 11.92 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.02548, allocations: 138 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.02548, allocations: 0 / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.003721/0.02921, allocations: 237.1 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.02925, allocations: 89.03 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.02947, allocations: 288.1 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.0295, allocations: 29.7 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.02963, allocations: 246.7 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.02967, allocations: 43.62 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.02975, allocations: 59.28 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.0299, allocations: 0.5078 MB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.02998, allocations: 53.92 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.03014, allocations: 207.7 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.03035, allocations: 205.2 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.03035, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004679/0.03082, allocations: 280.6 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.03086, allocations: 37.73 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.03087, allocations: 4 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.0311, allocations: 55.64 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.03127, allocations: 47.91 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.0324, allocations: 1.759 MB / 280.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.03257, allocations: 39.95 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.03259, allocations: 8 kB / 280.4 MB, free: 9.605 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 (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 0.0001149/0.03271, allocations: 168.5 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.03274, allocations: 31.8 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.03277, allocations: 21.77 kB / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.03278, allocations: 0 / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.03278, allocations: 0 / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.03278, allocations: 4 kB / 280.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.03294, allocations: 177.1 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.03294, allocations: 0 / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.03304, allocations: 27.98 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.03318, allocations: 51.58 kB / 280.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.03319, allocations: 8 kB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.03405, allocations: 1.748 MB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.03405, allocations: 4 kB / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.03437, allocations: 219.5 kB / 282.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.0344, allocations: 23.86 kB / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.03442, allocations: 0 / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.03452, allocations: 23.97 kB / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/0.03484, allocations: 15.97 kB / 282.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.03484, allocations: 4 kB / 282.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.03496, allocations: 197 kB / 283.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03496, allocations: 0 / 283.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.03524, allocations: 71.83 kB / 283.2 MB, free: 6.648 MB / 266.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 0.0001046/0.03534, allocations: 99.28 kB / 283.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.03567, allocations: 358.1 kB / 283.7 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03567, allocations: 0 / 283.7 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.03583, allocations: 217.8 kB / 283.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.03611, allocations: 49.09 kB / 283.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.03785, allocations: 0.6276 MB / 284.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.251e-05/0.03791, allocations: 80.31 kB / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.799e-05/0.03799, allocations: 22.3 kB / 284.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.03815, allocations: 118.1 kB / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03815, allocations: 0 / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of Templates: time 0.007798/0.04595, allocations: 4.048 MB / 288.8 MB, free: 0.9922 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] 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","",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.9038507640361786]