Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 93.19 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001115, allocations: 208.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.0002531, allocations: 8 kB / 306.6 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 51.49 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002836/0.1194, allocations: 2.35 MB / 360.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1208, allocations: 0.729 MB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.121, allocations: 7.938 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.275e-05/0.1211, allocations: 31.77 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1214, allocations: 95.72 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1217, allocations: 75.84 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1221, allocations: 235.5 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.1223, allocations: 101.7 kB / 361.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.1227, allocations: 131.5 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.1229, allocations: 139.4 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.1229, allocations: 20 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.249e-05/0.123, allocations: 16 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.123, allocations: 55.75 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.1231, allocations: 73.58 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.1234, allocations: 331.3 kB / 362.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1235, allocations: 0 / 362.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1235, allocations: 0 / 362.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1235, allocations: 0 / 362.4 MB, free: 9.73 MB / 302.1 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.001278/0.1248, allocations: 0.6356 MB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1248, allocations: 8.031 kB / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.1249, allocations: 31.62 kB / 363.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1253, allocations: 287.4 kB / 363.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.1253, allocations: 20.56 kB / 363.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.1254, allocations: 24 kB / 363.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.126, allocations: 323.6 kB / 363.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1261, allocations: 7.938 kB / 363.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.1261, allocations: 8 kB / 363.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1261, allocations: 4 kB / 363.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.1269, allocations: 302.1 kB / 364.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.1289, allocations: 1.223 MB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.1298, allocations: 278.5 kB / 365.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1298, allocations: 0 / 365.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/0.1303, allocations: 181 kB / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1303, allocations: 0 / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002059/0.1324, allocations: 0.6712 MB / 366.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1325, allocations: 81.11 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1327, allocations: 258.6 kB / 366.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1328, allocations: 33.7 kB / 366.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1329, allocations: 195.5 kB / 367 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.133, allocations: 39.45 kB / 367 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.133, allocations: 4 kB / 367 MB, free: 4.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1331, allocations: 326.8 kB / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.1334, allocations: 124.1 kB / 367.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.1338, allocations: 196.6 kB / 367.6 MB, free: 4.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.1342, allocations: 159.7 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1342, allocations: 4 kB / 367.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001194/0.1354, allocations: 479.7 kB / 368.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.1355, allocations: 33.69 kB / 368.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1355, allocations: 7.953 kB / 368.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.1359, allocations: 76.81 kB / 368.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1361, allocations: 55.97 kB / 368.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.1388, allocations: 1.787 MB / 370.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.1391, allocations: 51.91 kB / 370.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1391, allocations: 15.98 kB / 370.3 MB, free: 1.363 MB / 302.1 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.1393, allocations: 149.7 kB / 370.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1393, allocations: 27.66 kB / 370.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.1394, allocations: 25.7 kB / 370.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1394, allocations: 0 / 370.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1394, allocations: 0 / 370.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1394, allocations: 0 / 370.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1397, allocations: 305.5 kB / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1397, allocations: 7.953 kB / 370.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.1399, allocations: 43.89 kB / 370.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.1401, allocations: 64.83 kB / 370.9 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1402, allocations: 3.984 kB / 370.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2054/0.3456, allocations: 1.554 MB / 372.5 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3456, allocations: 0.5156 kB / 372.5 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.3473, allocations: 0.4992 MB / 373 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.3474, allocations: 100.2 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3474, allocations: 2.562 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.3477, allocations: 45.42 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.3478, allocations: 18 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3478, allocations: 4 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.348, allocations: 185.8 kB / 373.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.348, allocations: 4.359 kB / 373.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004147/0.3484, allocations: 70.48 kB / 373.4 MB, free: 18.5 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.3486, allocations: 106.4 kB / 373.5 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.35, allocations: 0.5004 MB / 374 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.35, allocations: 0.9062 kB / 374 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.3504, allocations: 231.8 kB / 374.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3507, allocations: 42.59 kB / 374.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3544, allocations: 1.014 MB / 375.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3546, allocations: 0.7583 MB / 376 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.3548, allocations: 26.84 kB / 376.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.3548, allocations: 19.09 kB / 376.1 MB, free: 17.06 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3548, allocations: 0 / 376.1 MB, free: 17.06 MB / 302.1 MB Notification: Performance of Templates: time 0.007365/0.3622, allocations: 3.142 MB / 379.2 MB, free: 16.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches