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.001331/0.00133, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 50.54 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004438/0.3167, allocations: 2.877 MB / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3183, allocations: 0.7518 MB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.3185, allocations: 4 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.3187, allocations: 39.58 kB / 412.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.3189, allocations: 111.2 kB / 413.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.3193, allocations: 111.8 kB / 413.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.3198, allocations: 390.5 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.3201, allocations: 131.2 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.3204, allocations: 163.4 kB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.3206, allocations: 163.2 kB / 414 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.3207, allocations: 44 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.3208, allocations: 36 kB / 414.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.3208, allocations: 67.83 kB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.321, allocations: 167.2 kB / 414.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.3214, allocations: 427.7 kB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3214, allocations: 0 / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3215, allocations: 0 / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3215, allocations: 0 / 414.7 MB, free: 12.09 MB / 334.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.001315/0.3228, allocations: 0.6643 MB / 415.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3228, allocations: 12.03 kB / 415.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.3229, allocations: 36.55 kB / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3233, allocations: 288.7 kB / 415.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3234, allocations: 20.94 kB / 415.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.3235, allocations: 24.38 kB / 415.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.3242, allocations: 319.9 kB / 416.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3242, allocations: 0 / 416.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.3242, allocations: 12 kB / 416.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3242, allocations: 8 kB / 416.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.325, allocations: 270 kB / 416.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.3271, allocations: 1.173 MB / 417.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.3279, allocations: 246.5 kB / 417.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.3282, allocations: 108.8 kB / 417.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3283, allocations: 0 / 417.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.3287, allocations: 168.5 kB / 418 MB, free: 8.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.3287, allocations: 4 kB / 418 MB, free: 8.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002029/0.3308, allocations: 0.5966 MB / 418.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.3309, allocations: 81.05 kB / 418.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.3312, allocations: 266.5 kB / 419 MB, free: 7.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.3312, allocations: 33.69 kB / 419 MB, free: 7.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3314, allocations: 191.6 kB / 419.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.3315, allocations: 43.44 kB / 419.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.3316, allocations: 49.61 kB / 419.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3317, allocations: 338.8 kB / 419.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3321, allocations: 100.2 kB / 419.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.3325, allocations: 195.5 kB / 419.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.3332, allocations: 299.8 kB / 420.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3332, allocations: 0 / 420.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001203/0.3344, allocations: 439.8 kB / 420.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.3345, allocations: 43.97 kB / 420.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3345, allocations: 0 / 420.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.3348, allocations: 72.81 kB / 420.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.335, allocations: 51.97 kB / 420.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.3375, allocations: 1.641 MB / 422.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.3378, allocations: 51.72 kB / 422.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3379, allocations: 8 kB / 422.5 MB, free: 3.762 MB / 334.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.0002016/0.3381, allocations: 168.9 kB / 422.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3381, allocations: 19.75 kB / 422.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.3382, allocations: 33.7 kB / 422.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3382, allocations: 0 / 422.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3382, allocations: 0 / 422.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3382, allocations: 0 / 422.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3385, allocations: 309.3 kB / 423 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3385, allocations: 0 / 423 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.3387, allocations: 31.97 kB / 423 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.339, allocations: 60.81 kB / 423.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.339, allocations: 8 kB / 423.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.3411, allocations: 1.621 MB / 424.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3411, allocations: 3.984 kB / 424.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3425, allocations: 457.4 kB / 425.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.3426, allocations: 96.8 kB / 425.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3426, allocations: 8 kB / 425.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3428, allocations: 32.02 kB / 425.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.3429, allocations: 23.97 kB / 425.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3429, allocations: 0 / 425.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.3431, allocations: 190 kB / 425.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3432, allocations: 0 / 425.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.3435, allocations: 71.84 kB / 425.6 MB, free: 432 kB / 334.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.0001778/0.3437, allocations: 106.6 kB / 425.7 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.3448, allocations: 410 kB / 426.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3448, allocations: 0 / 426.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.3452, allocations: 222.5 kB / 426.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3456, allocations: 48.98 kB / 426.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.3491, allocations: 0.8724 MB / 427.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3496, allocations: 0.748 MB / 428 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3498, allocations: 26.28 kB / 428 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.3498, allocations: 19.44 kB / 428 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3498, allocations: 0 / 428 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Templates: time 0.008465/0.3583, allocations: 3.711 MB / 431.7 MB, free: 10.2 MB / 350.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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches