Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001494/0.001494, allocations: 101.5 kB / 18.39 MB, free: 4.664 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.001283/0.001283, allocations: 187 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08861, allocations: 46.6 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004308/0.09296, allocations: 2.607 MB / 378.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.09458, allocations: 0.7096 MB / 379.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.09492, allocations: 4 kB / 379.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.09516, allocations: 31.59 kB / 379.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.0955, allocations: 87.31 kB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.0959, allocations: 95.81 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.09637, allocations: 330.5 kB / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.0966, allocations: 84.69 kB / 379.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.09691, allocations: 127.5 kB / 379.9 MB, free: 496 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.09715, allocations: 143.4 kB / 380 MB, free: 352 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.09722, allocations: 28 kB / 380.1 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.09729, allocations: 32 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.09736, allocations: 63.7 kB / 380.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.09752, allocations: 131.4 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1837/0.2812, allocations: 300.7 kB / 380.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2812, allocations: 0 / 380.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2813, allocations: 0 / 380.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2813, allocations: 0.7969 kB / 380.6 MB, free: 10.42 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001295/0.2826, allocations: 0.6145 MB / 381.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2826, allocations: 9.5 kB / 381.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.2827, allocations: 26.88 kB / 381.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.2832, allocations: 270.4 kB / 381.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.2832, allocations: 14.47 kB / 381.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.2832, allocations: 19.75 kB / 381.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.2839, allocations: 232.6 kB / 381.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2839, allocations: 9.094 kB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.2839, allocations: 7.688 kB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2839, allocations: 4.125 kB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.2847, allocations: 247.6 kB / 382 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.286, allocations: 0.8064 MB / 382.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/0.2869, allocations: 232.8 kB / 383.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.2872, allocations: 93.5 kB / 383.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2873, allocations: 2.438 kB / 383.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/0.2878, allocations: 160.4 kB / 383.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.2878, allocations: 0 / 383.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001929/0.2897, allocations: 0.5407 MB / 383.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.2898, allocations: 83.42 kB / 383.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.2901, allocations: 247.2 kB / 384.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2901, allocations: 26.8 kB / 384.2 MB, free: 8.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.2902, allocations: 166.6 kB / 384.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.2903, allocations: 40.03 kB / 384.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.2904, allocations: 46.64 kB / 384.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.2904, allocations: 328 kB / 384.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.2908, allocations: 103.2 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.2911, allocations: 142.6 kB / 385 MB, free: 8.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.2917, allocations: 254.3 kB / 385.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2917, allocations: 0 / 385.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001064/0.2928, allocations: 385.5 kB / 385.6 MB, free: 8.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.2928, allocations: 33.12 kB / 385.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2929, allocations: 1.625 kB / 385.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.2933, allocations: 98.38 kB / 385.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.2935, allocations: 46.27 kB / 385.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.295, allocations: 1.56 MB / 387.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.2954, allocations: 38.91 kB / 387.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.2954, allocations: 7.875 kB / 387.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003278/0.2957, allocations: 178.6 kB / 387.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002784/0.296, allocations: 141.1 kB / 387.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004926/0.2965, allocations: 224.8 kB / 387.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.2965, allocations: 8.5 kB / 387.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007047/0.2972, allocations: 302 kB / 388.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.2973, allocations: 37.39 kB / 388.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2973, allocations: 5.344 kB / 388.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.822e-05/0.2974, allocations: 24.06 kB / 388.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2976, allocations: 45.7 kB / 388.4 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007188/0.2983, allocations: 1.543 MB / 389.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.2986, allocations: 37.38 kB / 389.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.2986, allocations: 10.69 kB / 389.9 MB, free: 4.781 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.2988, allocations: 204 kB / 390.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.2988, allocations: 24.98 kB / 390.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.2989, allocations: 21.08 kB / 390.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2989, allocations: 1.188 kB / 390.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2989, allocations: 2.203 kB / 390.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2989, allocations: 0.7031 kB / 390.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.2992, allocations: 284 kB / 390.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2992, allocations: 1.156 kB / 390.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2994, allocations: 34.2 kB / 390.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.2996, allocations: 54.38 kB / 390.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2996, allocations: 2.047 kB / 390.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.3008, allocations: 1.549 MB / 392.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3009, allocations: 0.8438 kB / 392.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3019, allocations: 401.6 kB / 392.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.302, allocations: 97.12 kB / 392.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.3021, allocations: 6.828 kB / 392.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.3023, allocations: 26.86 kB / 392.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.3024, allocations: 18.22 kB / 392.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3024, allocations: 7.812 kB / 392.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3026, allocations: 172.8 kB / 392.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3026, allocations: 2.188 kB / 392.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.3031, allocations: 109.1 kB / 392.9 MB, free: 2.453 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3033, allocations: 110.2 kB / 393 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.3046, allocations: 0.6546 MB / 393.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3046, allocations: 0 / 393.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.305, allocations: 215.3 kB / 393.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3053, allocations: 46.59 kB / 393.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3064, allocations: 0.5086 MB / 394.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.3066, allocations: 0.7498 MB / 395.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.3067, allocations: 25.67 kB / 395.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3067, allocations: 0 / 395.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Templates: time 0.008193/0.3149, allocations: 3.949 MB / 399.2 MB, free: 332 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches