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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007537/0.0007537, allocations: 93.03 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 15.98 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.226, allocations: 47.58 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09506/0.3211, allocations: 79.3 MB / 456.3 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3213, allocations: 87.95 kB / 456.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.3365, allocations: 5.497 MB / 461.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3365, allocations: 0 / 461.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.3365, allocations: 8 kB / 461.9 MB, free: 11.66 MB / 346.7 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.0009871/0.3375, allocations: 0.5873 MB / 462.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3376, allocations: 12.03 kB / 462.5 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.3377, allocations: 32.59 kB / 462.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.338, allocations: 272.3 kB / 462.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.338, allocations: 12.75 kB / 462.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.3381, allocations: 20.38 kB / 462.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.3386, allocations: 244.8 kB / 463.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3387, allocations: 4.172 kB / 463.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3387, allocations: 15.94 kB / 463.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3387, allocations: 8 kB / 463.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.3394, allocations: 279.2 kB / 463.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3409, allocations: 0.8989 MB / 464.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.3417, allocations: 262.6 kB / 464.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.342, allocations: 112.8 kB / 464.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.342, allocations: 7.938 kB / 464.7 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.3425, allocations: 176.9 kB / 464.8 MB, free: 8.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3425, allocations: 0 / 464.8 MB, free: 8.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001868/0.3444, allocations: 0.6552 MB / 465.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.3445, allocations: 89.05 kB / 465.6 MB, free: 7.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3448, allocations: 233 kB / 465.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3448, allocations: 33.7 kB / 465.8 MB, free: 7.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3449, allocations: 160 kB / 466 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.345, allocations: 43.36 kB / 466 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.345, allocations: 8 kB / 466.1 MB, free: 7.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3452, allocations: 330.8 kB / 466.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.3455, allocations: 103.9 kB / 466.5 MB, free: 6.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.3458, allocations: 158.7 kB / 466.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.3464, allocations: 279.5 kB / 466.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3464, allocations: 3.938 kB / 466.9 MB, free: 6.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001051/0.3475, allocations: 435.8 kB / 467.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.3476, allocations: 163.8 kB / 467.5 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3476, allocations: 0 / 467.5 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.3479, allocations: 60.75 kB / 467.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3481, allocations: 55.91 kB / 467.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.3498, allocations: 1.496 MB / 469.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.3502, allocations: 51.73 kB / 469.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3502, allocations: 8 kB / 469.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.3502, allocations: 4.062 kB / 469.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00065/0.3509, allocations: 295.1 kB / 469.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3509, allocations: 4 kB / 469.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.073e-05/0.351, allocations: 28.78 kB / 469.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3512, allocations: 55.91 kB / 469.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009711/0.3521, allocations: 1.377 MB / 470.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.3524, allocations: 39.94 kB / 471 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3524, allocations: 8 kB / 471 MB, free: 1.957 MB / 346.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.3526, allocations: 216.9 kB / 471.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.3527, allocations: 23.7 kB / 471.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.3527, allocations: 21.84 kB / 471.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3527, allocations: 8 kB / 471.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3527, allocations: 0 / 471.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3527, allocations: 3.984 kB / 471.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.353, allocations: 281.4 kB / 471.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.353, allocations: 0 / 471.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3532, allocations: 40.06 kB / 471.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.3534, allocations: 60.8 kB / 471.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3534, allocations: 4 kB / 471.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.3548, allocations: 1.483 MB / 473.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3548, allocations: 4.031 kB / 473.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3559, allocations: 468.6 kB / 473.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.356, allocations: 104.8 kB / 473.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.356, allocations: 0 / 473.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.3562, allocations: 35.97 kB / 473.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3563, allocations: 19.97 kB / 473.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3563, allocations: 4 kB / 473.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.3565, allocations: 176.5 kB / 473.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.273e-06/0.3565, allocations: 0 / 473.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004429/0.357, allocations: 115.6 kB / 474 MB, free: 14.68 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.3572, allocations: 115.2 kB / 474.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.3584, allocations: 0.6884 MB / 474.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3584, allocations: 4 kB / 474.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.3588, allocations: 234.6 kB / 475 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3591, allocations: 47.31 kB / 475.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.3601, allocations: 0.5919 MB / 475.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3604, allocations: 0.7443 MB / 476.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.3606, allocations: 25.94 kB / 476.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.3606, allocations: 15.44 kB / 476.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3606, allocations: 0 / 476.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.006258/0.3669, allocations: 3.272 MB / 479.7 MB, free: 8.859 MB / 362.7 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches