Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9655/0.9655, allocations: 158.6 MB / 185.1 MB, free: 2.992 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1384/0.1384, allocations: 32.37 MB / 269.7 MB, free: 14.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.508e-05, allocations: 2.281 kB / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002877/0.002902, allocations: 2.458 MB / 409.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004084, allocations: 0.756 MB / 410.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.004257, allocations: 8 kB / 410.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.004464, allocations: 71.36 kB / 410.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.004674, allocations: 95.19 kB / 410.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.004934, allocations: 119.7 kB / 410.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.005406, allocations: 434.1 kB / 411 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.005575, allocations: 99.83 kB / 411.1 MB, free: 9.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.005852, allocations: 227.5 kB / 411.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.005964, allocations: 123.6 kB / 411.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.006005, allocations: 36 kB / 411.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.006038, allocations: 36 kB / 411.5 MB, free: 8.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.006081, allocations: 75.67 kB / 411.5 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.006163, allocations: 115.7 kB / 411.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.006451, allocations: 430.5 kB / 412.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006454, allocations: 4 kB / 412.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006455, allocations: 3.938 kB / 412.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.006461, allocations: 0 / 412.1 MB, free: 8.355 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0007109/0.007172, allocations: 0.5949 MB / 412.7 MB, free: 7.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.007215, allocations: 12.03 kB / 412.7 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.007271, allocations: 66.72 kB / 412.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.007323, allocations: 44.66 kB / 412.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.007621, allocations: 222 kB / 413 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.007641, allocations: 29.38 kB / 413 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.007672, allocations: 36.38 kB / 413.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.008111, allocations: 362.8 kB / 413.4 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008122, allocations: 3.938 kB / 413.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.008143, allocations: 19.94 kB / 413.5 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.008151, allocations: 8 kB / 413.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.008504, allocations: 259.8 kB / 413.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.009993, allocations: 1.231 MB / 415 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.01029, allocations: 194.4 kB / 415.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.0104, allocations: 75.56 kB / 415.2 MB, free: 5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.01042, allocations: 4 kB / 415.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.01044, allocations: 46.48 kB / 415.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.01044, allocations: 0 / 415.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004624/0.01091, allocations: 241.8 kB / 415.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.01096, allocations: 140.5 kB / 415.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.0112, allocations: 340.3 kB / 416 MB, free: 4.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.01121, allocations: 25.7 kB / 416 MB, free: 4.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01132, allocations: 236.2 kB / 416.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.01135, allocations: 59.52 kB / 416.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.01141, allocations: 57.94 kB / 416.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.01149, allocations: 338.8 kB / 416.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.01162, allocations: 80.53 kB / 416.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.01178, allocations: 164.3 kB / 416.9 MB, free: 3.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.01206, allocations: 259.1 kB / 417.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01207, allocations: 3.938 kB / 417.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003645/0.01243, allocations: 309.3 kB / 417.5 MB, free: 2.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.01245, allocations: 14.64 kB / 417.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01246, allocations: 4 kB / 417.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01247, allocations: 4 kB / 417.5 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.01267, allocations: 91.81 kB / 417.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.01268, allocations: 7.984 kB / 417.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01281, allocations: 47.81 kB / 417.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01282, allocations: 12 kB / 417.6 MB, free: 2.406 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.01293, allocations: 153.6 kB / 417.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.01298, allocations: 31.81 kB / 417.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.01303, allocations: 38.55 kB / 417.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01303, allocations: 4 kB / 417.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01304, allocations: 0 / 417.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01304, allocations: 0 / 417.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.01355, allocations: 0.5361 MB / 418.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01355, allocations: 0 / 418.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.01367, allocations: 59.88 kB / 418.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01368, allocations: 4 kB / 418.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.01369, allocations: 0 / 418.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.01369, allocations: 4 kB / 418.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.01369, allocations: 3.938 kB / 418.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.014, allocations: 402.8 kB / 418.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.01404, allocations: 31.81 kB / 418.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.01406, allocations: 12 kB / 418.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01417, allocations: 11.98 kB / 418.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.01422, allocations: 23.91 kB / 418.9 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.01423, allocations: 4 kB / 418.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.01438, allocations: 231 kB / 419.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01438, allocations: 4 kB / 419.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.01465, allocations: 75.83 kB / 419.3 MB, free: 0.6914 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005092/0.01516, allocations: 0.9187 MB / 420.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.01548, allocations: 187.7 kB / 420.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01548, allocations: 0 / 420.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.0156, allocations: 75.83 kB / 420.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.01591, allocations: 26.3 kB / 420.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.01865, allocations: 2.954 MB / 423.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.01876, allocations: 168.8 kB / 423.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.436e-05/0.01883, allocations: 30.2 kB / 423.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01894, allocations: 104.5 kB / 423.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01894, allocations: 0 / 423.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.03783, allocations: 5.574 MB / 429.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.007, allocations: 9.109 kB / 429.3 MB, free: 6.395 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSource.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource1.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource1.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.V_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.V_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.369720154441893]