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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 102.9 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008593/0.0008594, allocations: 35.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3071, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003953/0.3111, allocations: 2.892 MB / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3127, allocations: 0.7148 MB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.3129, allocations: 4 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3131, allocations: 39.69 kB / 403.1 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3133, allocations: 79.39 kB / 403.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3135, allocations: 99.91 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.3138, allocations: 366.5 kB / 403.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.314, allocations: 111.8 kB / 403.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.3142, allocations: 143.4 kB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3144, allocations: 151.4 kB / 404.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.3144, allocations: 24 kB / 404.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.3145, allocations: 20 kB / 404.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.3145, allocations: 63.69 kB / 404.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3147, allocations: 147.2 kB / 404.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.315, allocations: 412.1 kB / 404.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.315, allocations: 0 / 404.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.315, allocations: 0 / 404.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.315, allocations: 0 / 404.7 MB, free: 28.13 MB / 298.7 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.001096/0.3161, allocations: 0.6603 MB / 405.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3162, allocations: 8.031 kB / 405.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.3162, allocations: 36.56 kB / 405.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3165, allocations: 292.6 kB / 405.7 MB, free: 27.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3165, allocations: 16.94 kB / 405.7 MB, free: 27.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.3166, allocations: 28.38 kB / 405.8 MB, free: 27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.3172, allocations: 312 kB / 406.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3172, allocations: 4 kB / 406.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.3172, allocations: 16 kB / 406.1 MB, free: 26.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3172, allocations: 11.92 kB / 406.1 MB, free: 26.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.3179, allocations: 270.1 kB / 406.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.3196, allocations: 1.173 MB / 407.5 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/0.3204, allocations: 242.6 kB / 407.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.3207, allocations: 104.7 kB / 407.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3207, allocations: 11.94 kB / 407.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.3212, allocations: 161 kB / 408 MB, free: 24.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.3212, allocations: 0 / 408 MB, free: 24.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001918/0.3231, allocations: 0.6004 MB / 408.6 MB, free: 23.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3232, allocations: 85.03 kB / 408.7 MB, free: 23.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3234, allocations: 262.6 kB / 409 MB, free: 23.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3234, allocations: 29.7 kB / 409 MB, free: 23.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.3235, allocations: 191.6 kB / 409.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3236, allocations: 47.38 kB / 409.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.3236, allocations: 49.61 kB / 409.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.3237, allocations: 334.8 kB / 409.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.324, allocations: 104.2 kB / 409.7 MB, free: 22.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.3244, allocations: 189.2 kB / 409.9 MB, free: 22.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.325, allocations: 307.2 kB / 410.2 MB, free: 22.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.325, allocations: 0 / 410.2 MB, free: 22.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001072/0.3261, allocations: 443.8 kB / 410.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.3262, allocations: 33.64 kB / 410.7 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3262, allocations: 11.92 kB / 410.7 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/0.3265, allocations: 68.88 kB / 410.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3267, allocations: 59.89 kB / 410.8 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.3286, allocations: 1.507 MB / 412.3 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.329, allocations: 47.72 kB / 412.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.329, allocations: 16.08 kB / 412.4 MB, free: 19.94 MB / 298.7 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.0002127/0.3293, allocations: 153.7 kB / 412.5 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.3293, allocations: 19.81 kB / 412.5 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.3294, allocations: 21.7 kB / 412.6 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3294, allocations: 0 / 412.6 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3294, allocations: 4 kB / 412.6 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3294, allocations: 4 kB / 412.6 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3297, allocations: 313.3 kB / 412.9 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3297, allocations: 7.938 kB / 412.9 MB, free: 19.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3299, allocations: 31.95 kB / 412.9 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.3301, allocations: 60.81 kB / 413 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3301, allocations: 11.92 kB / 413 MB, free: 19.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.3318, allocations: 1.503 MB / 414.5 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3318, allocations: 4.031 kB / 414.5 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/0.3387, allocations: 3.895 MB / 418.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.3388, allocations: 100.8 kB / 418.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3388, allocations: 0 / 418.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3391, allocations: 32.16 kB / 418.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3392, allocations: 20.09 kB / 418.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3392, allocations: 7.938 kB / 418.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3394, allocations: 197.9 kB / 418.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3394, allocations: 3.938 kB / 418.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.3399, allocations: 91.84 kB / 418.8 MB, free: 12.98 MB / 298.7 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.0002048/0.3401, allocations: 103.2 kB / 418.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009172/0.341, allocations: 409.7 kB / 419.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3411, allocations: 0.6875 kB / 419.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.3415, allocations: 218.6 kB / 419.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3418, allocations: 40.53 kB / 419.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.3454, allocations: 1.23 MB / 420.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3456, allocations: 0.7521 MB / 421.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.3458, allocations: 26.3 kB / 421.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.3459, allocations: 27.42 kB / 421.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3459, allocations: 0 / 421.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of Templates: time 0.007252/0.3531, allocations: 4.142 MB / 425.8 MB, free: 5.957 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches