Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.001747/0.001747, allocations: 117.6 kB / 20.32 MB, free: 1.57 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.002242/0.002242, allocations: 204.8 kB / 23.6 MB, free: 4.957 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.491/1.491, allocations: 230.4 MB / 257.1 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2621/0.2621, allocations: 46.93 MB / 360.5 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 79.86 kB / 0.4958 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3154, allocations: 66.09 MB / 0.5603 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004697/0.3201, allocations: 2.698 MB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3216, allocations: 0.7944 MB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.3218, allocations: 8 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3221, allocations: 75.31 kB / 0.5638 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3223, allocations: 107.2 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.3227, allocations: 111.8 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.3231, allocations: 426.2 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.3233, allocations: 103.8 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3236, allocations: 147.5 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.3238, allocations: 167.2 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.3238, allocations: 32 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.3239, allocations: 36 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.3239, allocations: 83.67 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3241, allocations: 187 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.3246, allocations: 436.1 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3246, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3246, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3246, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 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.001119/0.3257, allocations: 0.6027 MB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3258, allocations: 12.02 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.291e-05/0.3258, allocations: 70.72 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.3259, allocations: 44.64 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3263, allocations: 224.9 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.3264, allocations: 29.31 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.3264, allocations: 32.38 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.3271, allocations: 362 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3271, allocations: 4 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.3271, allocations: 12 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3272, allocations: 8 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.3278, allocations: 263.8 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.3299, allocations: 1.292 MB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.3304, allocations: 186.6 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3306, allocations: 83.5 kB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.3306, allocations: 7.984 kB / 0.5687 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3306, allocations: 34.56 kB / 0.5687 GB, free: 11.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3306, allocations: 0 / 0.5687 GB, free: 11.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007903/0.3314, allocations: 257.1 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3315, allocations: 132.6 kB / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.3319, allocations: 341.7 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3319, allocations: 29.7 kB / 0.5695 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3321, allocations: 248.1 kB / 0.5697 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.3321, allocations: 55.53 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.3322, allocations: 57.94 kB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3324, allocations: 342.7 kB / 0.5701 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.3326, allocations: 84.45 kB / 0.5702 GB, free: 9.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.3329, allocations: 164.2 kB / 0.5704 GB, free: 9.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.3335, allocations: 263.5 kB / 0.5706 GB, free: 9.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3335, allocations: 4 kB / 0.5706 GB, free: 9.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006679/0.3341, allocations: 313.1 kB / 0.5709 GB, free: 9.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3342, allocations: 4 kB / 0.5709 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3342, allocations: 4 kB / 0.5709 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3342, allocations: 4 kB / 0.5709 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3346, allocations: 96.05 kB / 0.571 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3346, allocations: 11.94 kB / 0.571 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.3349, allocations: 47.72 kB / 0.5711 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3349, allocations: 8 kB / 0.5711 GB, free: 8.891 MB / 414.1 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.0001644/0.335, allocations: 159 kB / 0.5713 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3351, allocations: 27.81 kB / 0.5713 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.3352, allocations: 38.5 kB / 0.5713 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3352, allocations: 0 / 0.5713 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3352, allocations: 4 kB / 0.5713 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3352, allocations: 4 kB / 0.5713 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008259/0.3361, allocations: 0.5594 MB / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3361, allocations: 0 / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.3363, allocations: 64.03 kB / 0.5719 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3363, allocations: 0 / 0.5719 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3364, allocations: 11.94 kB / 0.5719 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3364, allocations: 4 kB / 0.5719 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3364, allocations: 3.984 kB / 0.572 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.337, allocations: 398.7 kB / 0.5723 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.337, allocations: 27.8 kB / 0.5724 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.337, allocations: 11.94 kB / 0.5724 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3373, allocations: 15.98 kB / 0.5724 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3373, allocations: 15.97 kB / 0.5724 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3374, allocations: 8 kB / 0.5724 GB, free: 7.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.3376, allocations: 235.2 kB / 0.5726 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 0 / 0.5726 GB, free: 7.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.338, allocations: 71.83 kB / 0.5727 GB, free: 7.145 MB / 414.1 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.0008871/0.3389, allocations: 0.9421 MB / 0.5736 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.3394, allocations: 202.6 kB / 0.5738 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3394, allocations: 0 / 0.5738 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.3396, allocations: 75.89 kB / 0.5739 GB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3401, allocations: 21.44 kB / 0.5739 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.3441, allocations: 3.001 MB / 0.5768 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3443, allocations: 168.8 kB / 0.577 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.3444, allocations: 30.2 kB / 0.577 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3446, allocations: 99.41 kB / 0.5771 GB, free: 2.375 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3446, allocations: 0 / 0.5771 GB, free: 2.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.376, allocations: 5.265 MB / 0.5823 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.81, allocations: 14.55 kB / 0.5823 GB, free: 13.2 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.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_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource1.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource1.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.888529044110328]