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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 377.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2733, allocations: 53.41 MB / 431.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004125/0.2774, allocations: 2.714 MB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2787, allocations: 0.6857 MB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.2788, allocations: 4 kB / 434.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.279, allocations: 47.5 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.2792, allocations: 111.2 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.2794, allocations: 99.77 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.2799, allocations: 386.5 kB / 435.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.28, allocations: 85.36 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.2803, allocations: 167.3 kB / 435.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2805, allocations: 143.2 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.2806, allocations: 40 kB / 435.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.2807, allocations: 36 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.2807, allocations: 83.69 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.2809, allocations: 143.4 kB / 435.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.2813, allocations: 442.3 kB / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2813, allocations: 0 / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2813, allocations: 0 / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2813, allocations: 0 / 436.3 MB, free: 1.25 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001189/0.2825, allocations: 0.5809 MB / 436.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2826, allocations: 15.98 kB / 436.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.2826, allocations: 58.72 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.2827, allocations: 40.7 kB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.2832, allocations: 245.7 kB / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2832, allocations: 16.88 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.2832, allocations: 28.38 kB / 437.3 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.2839, allocations: 335.5 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2839, allocations: 0 / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.2839, allocations: 12 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2839, allocations: 4 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.2846, allocations: 245.8 kB / 437.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.2865, allocations: 0.9926 MB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.2871, allocations: 210.6 kB / 439.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.2874, allocations: 80.8 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2874, allocations: 4 kB / 439.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.2878, allocations: 213.3 kB / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2878, allocations: 4 kB / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001367/0.2892, allocations: 392.6 kB / 439.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.2893, allocations: 110.8 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.2896, allocations: 273.8 kB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.2896, allocations: 25.7 kB / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2897, allocations: 200 kB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.2898, allocations: 47.64 kB / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/0.2899, allocations: 49.94 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.29, allocations: 338.8 kB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.2903, allocations: 121.8 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.2907, allocations: 261.3 kB / 441.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.2913, allocations: 273.7 kB / 441.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2913, allocations: 4 kB / 441.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009375/0.2922, allocations: 413.3 kB / 441.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.2923, allocations: 34.02 kB / 441.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2923, allocations: 8 kB / 441.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.2926, allocations: 60.8 kB / 441.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2928, allocations: 51.89 kB / 442 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.2945, allocations: 1.5 MB / 443.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2948, allocations: 39.86 kB / 443.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2948, allocations: 11.98 kB / 443.5 MB, free: 9.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001688/0.295, allocations: 158.2 kB / 443.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.295, allocations: 27.8 kB / 443.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.2951, allocations: 29.77 kB / 443.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.2951, allocations: 0 / 443.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2951, allocations: 3.938 kB / 443.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2951, allocations: 4 kB / 443.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.2954, allocations: 264.6 kB / 444 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2954, allocations: 0 / 444 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.2956, allocations: 35.97 kB / 444 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.2958, allocations: 52.94 kB / 444.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2958, allocations: 8 kB / 444.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2974, allocations: 1.484 MB / 445.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2974, allocations: 0 / 445.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2985, allocations: 397.5 kB / 446 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.2985, allocations: 27.83 kB / 446 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.2986, allocations: 4 kB / 446 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2988, allocations: 27.95 kB / 446 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.2988, allocations: 23.97 kB / 446.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.2988, allocations: 4 kB / 446.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.299, allocations: 193.2 kB / 446.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.299, allocations: 0 / 446.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.2994, allocations: 75.88 kB / 446.3 MB, free: 6.508 MB / 350.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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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.00136/0.3007, allocations: 0.9166 MB / 447.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.3016, allocations: 416 kB / 447.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3016, allocations: 4.188 kB / 447.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.302, allocations: 218.5 kB / 447.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3023, allocations: 60.5 kB / 447.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.3082, allocations: 3.2 MB / 451.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3084, allocations: 150.9 kB / 451.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3085, allocations: 26.28 kB / 451.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3086, allocations: 79.41 kB / 451.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3086, allocations: 0 / 451.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.348, allocations: 7.377 MB / 458.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.69, allocations: 7.922 kB / 458.8 MB, free: 9.965 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable integrator.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.254560290835798]