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.0008752/0.0008752, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009104/0.0009104, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002729, allocations: 8 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1244, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003122/0.1276, allocations: 2.451 MB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.129, allocations: 0.7133 MB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1292, allocations: 4 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.1293, allocations: 35.69 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1295, allocations: 83.38 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1298, allocations: 63.92 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1301, allocations: 350.5 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1304, allocations: 101.7 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.1306, allocations: 119.5 kB / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1308, allocations: 139.4 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.1309, allocations: 16 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.1309, allocations: 23.94 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.131, allocations: 51.75 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.1311, allocations: 81.52 kB / 362.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1314, allocations: 331.3 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1314, allocations: 0 / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1314, allocations: 0 / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1314, allocations: 4 kB / 363.2 MB, free: 8.844 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.001169/0.1326, allocations: 0.6292 MB / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1326, allocations: 8.031 kB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.1327, allocations: 35.62 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.133, allocations: 283.5 kB / 364.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1331, allocations: 24.52 kB / 364.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.1331, allocations: 27.98 kB / 364.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.1338, allocations: 327.6 kB / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1339, allocations: 0 / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1339, allocations: 8 kB / 364.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1339, allocations: 8 kB / 364.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.1347, allocations: 302 kB / 364.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.1367, allocations: 1.208 MB / 366 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.1376, allocations: 286.5 kB / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.1379, allocations: 120.7 kB / 366.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.138, allocations: 0 / 366.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.1385, allocations: 188.9 kB / 366.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1385, allocations: 0 / 366.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001976/0.1404, allocations: 0.663 MB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.1405, allocations: 85.06 kB / 367.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.1409, allocations: 262.6 kB / 367.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1409, allocations: 33.64 kB / 367.6 MB, free: 4.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1411, allocations: 191.6 kB / 367.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.1411, allocations: 51.36 kB / 367.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.1411, allocations: 4 kB / 367.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1413, allocations: 330.8 kB / 368.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.1416, allocations: 120.1 kB / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.142, allocations: 200.6 kB / 368.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.1424, allocations: 157.6 kB / 368.7 MB, free: 3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1424, allocations: 0 / 368.7 MB, free: 3 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001143/0.1435, allocations: 479.7 kB / 369.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.1436, allocations: 37.69 kB / 369.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1436, allocations: 4 kB / 369.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.144, allocations: 72.83 kB / 369.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1442, allocations: 63.91 kB / 369.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.1467, allocations: 1.744 MB / 371.1 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.147, allocations: 51.81 kB / 371.1 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1471, allocations: 12.06 kB / 371.1 MB, free: 396 kB / 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.0001956/0.1473, allocations: 157.7 kB / 371.3 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.1473, allocations: 27.67 kB / 371.3 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1474, allocations: 25.7 kB / 371.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1474, allocations: 4 kB / 371.3 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1474, allocations: 0 / 371.3 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1474, allocations: 0 / 371.3 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2576/0.405, allocations: 300.3 kB / 371.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.405, allocations: 0 / 371.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.4053, allocations: 43.06 kB / 371.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.4056, allocations: 71.56 kB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.4056, allocations: 3.953 kB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.4074, allocations: 1.545 MB / 373.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4074, allocations: 5.094 kB / 373.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.4088, allocations: 495.6 kB / 373.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.4089, allocations: 104.4 kB / 373.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.4089, allocations: 7.5 kB / 373.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.4092, allocations: 37.22 kB / 373.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4094, allocations: 22.27 kB / 373.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.4094, allocations: 6.484 kB / 373.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.4097, allocations: 186.5 kB / 374.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4097, allocations: 3.344 kB / 374.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000605/0.4103, allocations: 63.95 kB / 374.2 MB, free: 17.57 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.0001547/0.4105, allocations: 106.9 kB / 374.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.4118, allocations: 0.5043 MB / 374.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4118, allocations: 0.9375 kB / 374.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.4123, allocations: 230.7 kB / 375 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.4127, allocations: 49.81 kB / 375.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.4165, allocations: 1.011 MB / 376.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4168, allocations: 0.7522 MB / 376.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.417, allocations: 23.73 kB / 376.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.417, allocations: 21.03 kB / 376.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.417, allocations: 0 / 376.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of Templates: time 0.008615/0.4257, allocations: 3.154 MB / 380 MB, free: 15.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches