Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001668, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 68.48 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.1, allocations: 50.54 MB / 358.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004452/0.1045, allocations: 2.868 MB / 361.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.106, allocations: 0.7518 MB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1062, allocations: 4 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1064, allocations: 51.5 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1066, allocations: 99.19 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.107, allocations: 115.8 kB / 362.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1074, allocations: 386.6 kB / 362.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.1077, allocations: 123.2 kB / 362.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.108, allocations: 155.4 kB / 363 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1082, allocations: 171.2 kB / 363.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.1082, allocations: 40 kB / 363.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.1083, allocations: 40 kB / 363.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.1084, allocations: 75.75 kB / 363.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1086, allocations: 167.1 kB / 363.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.109, allocations: 426.8 kB / 363.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.109, allocations: 0 / 363.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.109, allocations: 0 / 363.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1091, allocations: 0 / 363.9 MB, free: 8.453 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.00136/0.1104, allocations: 0.6604 MB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1105, allocations: 8.031 kB / 364.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.1106, allocations: 32.56 kB / 364.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.1109, allocations: 292.6 kB / 364.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.111, allocations: 20.94 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.111, allocations: 20.38 kB / 364.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.1118, allocations: 323.9 kB / 365.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1118, allocations: 4 kB / 365.2 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.1118, allocations: 12 kB / 365.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1118, allocations: 8 kB / 365.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.1127, allocations: 274 kB / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.1148, allocations: 1.181 MB / 366.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/0.1158, allocations: 242.6 kB / 366.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.1161, allocations: 100.8 kB / 367 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1162, allocations: 0 / 367 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.1167, allocations: 172.9 kB / 367.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1167, allocations: 0 / 367.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002228/0.119, allocations: 0.5887 MB / 367.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.1191, allocations: 93.05 kB / 367.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1194, allocations: 258.6 kB / 368.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1194, allocations: 37.64 kB / 368.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1196, allocations: 195.5 kB / 368.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1196, allocations: 31.55 kB / 368.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.1197, allocations: 49.61 kB / 368.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1199, allocations: 334.8 kB / 368.8 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.1203, allocations: 104.2 kB / 368.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.1207, allocations: 193.2 kB / 369.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.1215, allocations: 299.2 kB / 369.4 MB, free: 2.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1215, allocations: 4 kB / 369.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001287/0.1228, allocations: 443.7 kB / 369.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.1229, allocations: 41.64 kB / 369.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1229, allocations: 4 kB / 369.8 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1233, allocations: 68.86 kB / 369.9 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.1235, allocations: 55.89 kB / 370 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.126, allocations: 1.637 MB / 371.6 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.1264, allocations: 55.64 kB / 371.6 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1264, allocations: 8 kB / 371.7 MB, free: 124 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 (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.1595/0.2859, allocations: 145.7 kB / 371.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.286, allocations: 20.56 kB / 371.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.2861, allocations: 24.02 kB / 371.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2861, allocations: 5.547 kB / 371.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2861, allocations: 2.531 kB / 371.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2861, allocations: 1.844 kB / 371.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.2865, allocations: 312.3 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2865, allocations: 1.062 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.2867, allocations: 32.95 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002613/0.287, allocations: 68.19 kB / 372.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.287, allocations: 3.031 kB / 372.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.2889, allocations: 1.626 MB / 373.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2889, allocations: 3.656 kB / 373.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.2903, allocations: 446.7 kB / 374.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.2904, allocations: 108.6 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.2904, allocations: 2.062 kB / 374.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2907, allocations: 30.45 kB / 374.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.2908, allocations: 20.38 kB / 374.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2908, allocations: 7.75 kB / 374.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.291, allocations: 188.8 kB / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.291, allocations: 0 / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000367/0.2914, allocations: 74.72 kB / 374.7 MB, free: 18.2 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.0001185/0.2915, allocations: 106.8 kB / 374.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009438/0.2924, allocations: 409.5 kB / 375.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2925, allocations: 0 / 375.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.2929, allocations: 213.8 kB / 375.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2932, allocations: 46.61 kB / 375.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.297, allocations: 0.9112 MB / 376.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2972, allocations: 0.7518 MB / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.2973, allocations: 21.19 kB / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2973, allocations: 0 / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of Templates: time 0.007804/0.3051, allocations: 4.548 MB / 381.7 MB, free: 16.5 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches