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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 104.3 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 50.27 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09743, allocations: 49.45 MB / 349.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004603/0.1021, allocations: 2.893 MB / 352.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1035, allocations: 0.7168 MB / 353.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.1037, allocations: 4 kB / 353.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.104, allocations: 39.75 kB / 353.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1043, allocations: 79.39 kB / 353.3 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1046, allocations: 103.8 kB / 353.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.1051, allocations: 386.5 kB / 353.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.1054, allocations: 127.2 kB / 353.9 MB, free: 408 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1057, allocations: 155.4 kB / 354.1 MB, free: 252 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1059, allocations: 159.3 kB / 354.2 MB, free: 92 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.106, allocations: 40 kB / 354.3 MB, free: 52 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.106, allocations: 36 kB / 354.3 MB, free: 16 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.1061, allocations: 79.81 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1063, allocations: 171.1 kB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1067, allocations: 418.9 kB / 355 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.1068, allocations: 4 kB / 355 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1068, allocations: 3.938 kB / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1068, allocations: 0 / 355 MB, free: 15.35 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.001378/0.1082, allocations: 0.6564 MB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1082, allocations: 15.89 kB / 355.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.464e-05/0.1083, allocations: 32.56 kB / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1087, allocations: 288.7 kB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1087, allocations: 24.88 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.1088, allocations: 28.28 kB / 356 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.1095, allocations: 315.9 kB / 356.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1095, allocations: 4 kB / 356.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.1096, allocations: 15.98 kB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1096, allocations: 8 kB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.1104, allocations: 266.1 kB / 356.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.1124, allocations: 1.181 MB / 357.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/0.1133, allocations: 242.5 kB / 358 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.1137, allocations: 104.8 kB / 358.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1137, allocations: 4 kB / 358.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.1142, allocations: 168.9 kB / 358.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.1142, allocations: 0 / 358.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002066/0.1163, allocations: 0.5965 MB / 358.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1164, allocations: 85.03 kB / 359 MB, free: 11.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1166, allocations: 262.6 kB / 359.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1167, allocations: 29.64 kB / 359.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1168, allocations: 199.5 kB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.1169, allocations: 43.53 kB / 359.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.117, allocations: 49.61 kB / 359.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.1171, allocations: 330.8 kB / 359.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.1174, allocations: 104.2 kB / 360 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1178, allocations: 191.5 kB / 360.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.1185, allocations: 303.3 kB / 360.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1185, allocations: 0 / 360.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001179/0.1197, allocations: 447.6 kB / 360.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.1198, allocations: 37.64 kB / 360.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1198, allocations: 0 / 360.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.1201, allocations: 68.88 kB / 361 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1203, allocations: 59.89 kB / 361 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.1225, allocations: 1.634 MB / 362.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.1229, allocations: 51.66 kB / 362.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1229, allocations: 16 kB / 362.7 MB, free: 7.02 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 (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.0001455/0.123, allocations: 145.8 kB / 362.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1231, allocations: 27.66 kB / 362.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.1232, allocations: 29.7 kB / 362.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1232, allocations: 0 / 362.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1232, allocations: 0 / 362.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1232, allocations: 0 / 362.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1235, allocations: 313.4 kB / 363.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1235, allocations: 0 / 363.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1237, allocations: 35.97 kB / 363.3 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.1239, allocations: 60.81 kB / 363.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1239, allocations: 4 kB / 363.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.126, allocations: 1.625 MB / 365 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.126, allocations: 0 / 365 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.1274, allocations: 457.3 kB / 365.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1275, allocations: 100.9 kB / 365.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.1275, allocations: 7.984 kB / 365.5 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1278, allocations: 27.97 kB / 365.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.1279, allocations: 15.98 kB / 365.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1279, allocations: 7.984 kB / 365.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1281, allocations: 194 kB / 365.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1281, allocations: 0 / 365.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1284, allocations: 67.75 kB / 365.8 MB, free: 3.695 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 (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.0001379/0.1286, allocations: 103.2 kB / 365.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1296, allocations: 413.9 kB / 366.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1296, allocations: 0 / 366.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.1301, allocations: 223.1 kB / 366.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1304, allocations: 52.14 kB / 366.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.1338, allocations: 0.962 MB / 367.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1342, allocations: 0.7519 MB / 368.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1343, allocations: 26.28 kB / 368.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.1344, allocations: 23.44 kB / 368.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1344, allocations: 0 / 368.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of Templates: time 0.152/0.2864, allocations: 3.524 MB / 371.9 MB, free: 25.38 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (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) 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) Reference file matches