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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 153.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9183/0.9183, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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) 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.098e-05, allocations: 6.219 kB / 318.5 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002751/0.002772, allocations: 2.668 MB / 321.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003808, allocations: 0.6934 MB / 321.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.00394, allocations: 4 kB / 321.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004073, allocations: 47.56 kB / 321.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.004228, allocations: 103.1 kB / 322 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.004499, allocations: 119.7 kB / 322.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.00483, allocations: 410.2 kB / 322.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.004997, allocations: 79.69 kB / 322.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.005255, allocations: 227.5 kB / 322.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005385, allocations: 127.6 kB / 322.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.005427, allocations: 40 kB / 323 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.00546, allocations: 36 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.005507, allocations: 71.75 kB / 323.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.005594, allocations: 115.7 kB / 323.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.005911, allocations: 438.6 kB / 323.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005915, allocations: 8 kB / 323.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005916, allocations: 0 / 323.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005922, allocations: 0 / 323.6 MB, free: 1.117 MB / 282.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.0008451/0.006767, allocations: 0.588 MB / 324.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.006806, allocations: 12.92 kB / 324.2 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.006852, allocations: 58.73 kB / 324.3 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.006903, allocations: 36.7 kB / 324.3 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.007204, allocations: 234.2 kB / 324.5 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.007221, allocations: 16.88 kB / 324.6 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.007255, allocations: 24.38 kB / 324.6 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.007704, allocations: 344.9 kB / 324.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.007714, allocations: 192 / 324.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.007735, allocations: 16.12 kB / 324.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.007742, allocations: 7.984 kB / 324.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.008164, allocations: 273.8 kB / 325.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.009375, allocations: 1.045 MB / 326.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.009887, allocations: 242.5 kB / 326.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.01006, allocations: 96.78 kB / 326.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.01008, allocations: 3.984 kB / 326.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.01037, allocations: 194.7 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.01037, allocations: 0 / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001101/0.01147, allocations: 0.5174 MB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.01152, allocations: 85.11 kB / 327.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01173, allocations: 273.7 kB / 327.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01174, allocations: 29.7 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.01184, allocations: 200 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.01187, allocations: 43.69 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.01193, allocations: 45.7 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.01201, allocations: 330.8 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.01221, allocations: 129.9 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.01244, allocations: 250.9 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.01283, allocations: 303.2 kB / 329 MB, free: 11.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01283, allocations: 3.938 kB / 329 MB, free: 11.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006689/0.0135, allocations: 481.4 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.01354, allocations: 37.69 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01354, allocations: 4 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.01376, allocations: 68.81 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.01389, allocations: 55.91 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01523, allocations: 1.518 MB / 331.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.0154, allocations: 47.81 kB / 331.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01542, allocations: 12 kB / 331.2 MB, free: 9.062 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.0001269/0.01555, allocations: 162.3 kB / 331.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.01557, allocations: 23.86 kB / 331.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.0156, allocations: 29.75 kB / 331.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01561, allocations: 0 / 331.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01561, allocations: 0 / 331.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01561, allocations: 0 / 331.4 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.01581, allocations: 252.5 kB / 331.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01581, allocations: 3.984 kB / 331.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.01591, allocations: 31.97 kB / 331.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.01606, allocations: 60.83 kB / 331.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01607, allocations: 7.984 kB / 331.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.0172, allocations: 1.514 MB / 333.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.0172, allocations: 4.031 kB / 333.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.01793, allocations: 449.9 kB / 333.7 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.01796, allocations: 31.83 kB / 333.7 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01798, allocations: 4 kB / 333.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01809, allocations: 27.95 kB / 333.7 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.01815, allocations: 23.97 kB / 333.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01816, allocations: 4 kB / 333.8 MB, free: 6.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.0183, allocations: 189.2 kB / 334 MB, free: 6.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0183, allocations: 0 / 334 MB, free: 6.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.01855, allocations: 75.84 kB / 334 MB, free: 6.004 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.0009923/0.01954, allocations: 0.9799 MB / 335 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.02019, allocations: 431.6 kB / 335.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02019, allocations: 0.6875 kB / 335.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.02044, allocations: 222.5 kB / 335.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.02068, allocations: 47.12 kB / 335.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.02518, allocations: 3.493 MB / 339.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.02529, allocations: 138.8 kB / 339.3 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.02539, allocations: 34.27 kB / 339.4 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.0255, allocations: 80.47 kB / 339.4 MB, free: 316 kB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0255, allocations: 4 kB / 339.4 MB, free: 312 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.05228, allocations: 7.124 MB / 346.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/7.906, allocations: 14.92 kB / 346.6 MB, free: 9.352 MB / 314.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.61424912698567]