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.001312/0.001312, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001537, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.88 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08839, allocations: 50.53 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004095/0.09252, allocations: 2.925 MB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.09391, allocations: 0.748 MB / 361.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.09415, allocations: 4 kB / 361.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.09439, allocations: 35.69 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.09463, allocations: 91.36 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.09493, allocations: 91.94 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.09531, allocations: 370.5 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.09551, allocations: 103.8 kB / 361.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.0958, allocations: 143.4 kB / 361.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.09601, allocations: 151.3 kB / 362.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.09607, allocations: 24 kB / 362.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.304e-05/0.09613, allocations: 20 kB / 362.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.09619, allocations: 63.69 kB / 362.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.09636, allocations: 155.2 kB / 362.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.09663, allocations: 331.4 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09664, allocations: 4 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09665, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.09667, allocations: 0 / 362.7 MB, free: 9.227 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.001213/0.09788, allocations: 0.6566 MB / 363.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.09792, allocations: 8.031 kB / 363.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.09801, allocations: 32.56 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.09835, allocations: 296.5 kB / 363.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.09837, allocations: 16.94 kB / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.09842, allocations: 24.38 kB / 363.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.09912, allocations: 320 kB / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09914, allocations: 0 / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.09917, allocations: 11.98 kB / 364 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.09918, allocations: 8 kB / 364 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.09996, allocations: 278 kB / 364.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1019, allocations: 1.173 MB / 365.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.1028, allocations: 254.5 kB / 365.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.1031, allocations: 100.8 kB / 365.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1031, allocations: 0 / 365.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/0.1036, allocations: 172.9 kB / 366 MB, free: 5.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.1036, allocations: 0 / 366 MB, free: 5.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002068/0.1057, allocations: 0.5927 MB / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.1058, allocations: 84.98 kB / 366.7 MB, free: 4.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1061, allocations: 262.6 kB / 366.9 MB, free: 4.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1061, allocations: 33.7 kB / 367 MB, free: 4.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1063, allocations: 195.5 kB / 367.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.1063, allocations: 39.53 kB / 367.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/0.1064, allocations: 49.61 kB / 367.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1066, allocations: 334.8 kB / 367.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.1069, allocations: 104.2 kB / 367.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.1073, allocations: 188.6 kB / 367.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.108, allocations: 306.5 kB / 368.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.108, allocations: 0 / 368.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001134/0.1091, allocations: 447.7 kB / 368.6 MB, free: 2.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.1092, allocations: 37.64 kB / 368.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1092, allocations: 4 kB / 368.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.1095, allocations: 68.81 kB / 368.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1097, allocations: 59.97 kB / 368.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1117, allocations: 1.519 MB / 370.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.112, allocations: 51.66 kB / 370.3 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.112, allocations: 8 kB / 370.3 MB, free: 1.016 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.0001487/0.1122, allocations: 149.7 kB / 370.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1122, allocations: 31.77 kB / 370.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.1123, allocations: 21.72 kB / 370.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1123, allocations: 7.938 kB / 370.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1123, allocations: 0 / 370.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1123, allocations: 3.984 kB / 370.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.1126, allocations: 305.4 kB / 370.8 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1126, allocations: 0 / 370.8 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.1128, allocations: 31.97 kB / 370.9 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.1131, allocations: 68.69 kB / 370.9 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1131, allocations: 4 kB / 370.9 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1613/0.2744, allocations: 1.509 MB / 372.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2744, allocations: 2.188 kB / 372.5 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.2759, allocations: 446.7 kB / 372.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.276, allocations: 101.4 kB / 373 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.2761, allocations: 7.438 kB / 373 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.2764, allocations: 32.59 kB / 373 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.2765, allocations: 16.03 kB / 373 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2765, allocations: 7.531 kB / 373 MB, free: 19.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.2768, allocations: 195.2 kB / 373.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2768, allocations: 0 / 373.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.2772, allocations: 68.48 kB / 373.3 MB, free: 19.03 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.0001609/0.2774, allocations: 107.3 kB / 373.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2784, allocations: 404.5 kB / 373.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2784, allocations: 0 / 373.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.2789, allocations: 221.3 kB / 374 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2793, allocations: 42.56 kB / 374.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.2827, allocations: 0.9922 MB / 375.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.283, allocations: 0.7555 MB / 375.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.2831, allocations: 20.5 kB / 375.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2831, allocations: 0 / 375.8 MB, free: 17.58 MB / 302.1 MB Notification: Performance of Templates: time 0.008634/0.2917, allocations: 4.541 MB / 380.4 MB, free: 17.27 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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