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.001799/0.001799, allocations: 123 kB / 17.78 MB, free: 5.25 MB / 14.72 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.001989/0.001989, allocations: 197.2 kB / 20.73 MB, free: 2.309 MB / 14.72 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 1.539/1.539, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001558/0.001558, allocations: 51.92 kB / 365.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09539, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.0042/0.09959, allocations: 2.875 MB / 420.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1009, allocations: 0.7323 MB / 421.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1011, allocations: 7.938 kB / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1012, allocations: 43.56 kB / 421.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1015, allocations: 103.2 kB / 421.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1018, allocations: 111.8 kB / 421.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.1022, allocations: 394.5 kB / 422.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1024, allocations: 87.27 kB / 422.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1027, allocations: 159.4 kB / 422.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1029, allocations: 159.3 kB / 422.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.1029, allocations: 40 kB / 422.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.103, allocations: 36 kB / 422.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1031, allocations: 87.62 kB / 422.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1032, allocations: 163.2 kB / 422.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.1037, allocations: 426.4 kB / 423.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1037, allocations: 0 / 423.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1037, allocations: 0 / 423.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1037, allocations: 0 / 423.2 MB, free: 7.223 MB / 350.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.001399/0.1051, allocations: 0.6641 MB / 423.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1052, allocations: 8.031 kB / 423.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.1052, allocations: 66.66 kB / 423.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.1053, allocations: 36.7 kB / 424 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.1058, allocations: 296.7 kB / 424.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.1058, allocations: 20.94 kB / 424.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.1059, allocations: 28.38 kB / 424.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.1066, allocations: 311.8 kB / 424.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1066, allocations: 0 / 424.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.1066, allocations: 8 kB / 424.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1066, allocations: 8 kB / 424.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.1075, allocations: 278 kB / 424.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.1096, allocations: 1.169 MB / 426.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.1105, allocations: 234.6 kB / 426.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.1108, allocations: 96.78 kB / 426.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1109, allocations: 7.938 kB / 426.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.1113, allocations: 169 kB / 426.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.1113, allocations: 3.938 kB / 426.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002197/0.1135, allocations: 0.5927 MB / 427.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.1136, allocations: 77.11 kB / 427.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.1139, allocations: 270.6 kB / 427.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1139, allocations: 29.7 kB / 427.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1141, allocations: 195.9 kB / 427.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.1141, allocations: 43.69 kB / 427.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.1142, allocations: 49.66 kB / 427.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1144, allocations: 326.8 kB / 428.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.1147, allocations: 108.1 kB / 428.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.1152, allocations: 192.9 kB / 428.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.1159, allocations: 309.9 kB / 428.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1159, allocations: 0 / 428.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001285/0.1172, allocations: 443.8 kB / 429.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.1173, allocations: 39.83 kB / 429.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1173, allocations: 0 / 429.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.1176, allocations: 72.88 kB / 429.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1178, allocations: 55.89 kB / 429.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.1202, allocations: 1.645 MB / 431 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.1205, allocations: 51.88 kB / 431 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1206, allocations: 15.94 kB / 431 MB, free: 14.83 MB / 366.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.0001584/0.1207, allocations: 137.8 kB / 431.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.1208, allocations: 27.86 kB / 431.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1208, allocations: 21.7 kB / 431.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1208, allocations: 8 kB / 431.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1208, allocations: 0 / 431.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1208, allocations: 0 / 431.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.1212, allocations: 325.3 kB / 431.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1212, allocations: 3.938 kB / 431.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.1214, allocations: 31.97 kB / 431.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.1216, allocations: 60.81 kB / 431.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.1216, allocations: 4 kB / 431.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.1237, allocations: 1.625 MB / 433.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1237, allocations: 0 / 433.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.1252, allocations: 453.5 kB / 433.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.1253, allocations: 97 kB / 433.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1253, allocations: 7.938 kB / 433.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.1255, allocations: 36.02 kB / 433.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.1256, allocations: 15.98 kB / 433.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1256, allocations: 3.984 kB / 433.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.1259, allocations: 190 kB / 434.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1259, allocations: 0 / 434.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1262, allocations: 67.89 kB / 434.1 MB, free: 11.5 MB / 366.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.001844/0.1281, allocations: 0.9839 MB / 435.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1291, allocations: 408.6 kB / 435.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1291, allocations: 0 / 435.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.1296, allocations: 214.5 kB / 435.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1299, allocations: 55.12 kB / 435.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/0.1381, allocations: 3.398 MB / 439.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1384, allocations: 0.7558 MB / 439.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1386, allocations: 26.28 kB / 439.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1387, allocations: 79.36 kB / 440 MB, free: 5.344 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1387, allocations: 0 / 440 MB, free: 5.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/0.3582, allocations: 6.314 MB / 446.3 MB, free: 30.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.26, allocations: 5.156 kB / 446.3 MB, free: 30.61 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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] "Error: Could not read variable integrator.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.852879704907537]