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.001738/0.001738, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002224/0.002224, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2291/0.2291, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.002413/0.002413, allocations: 75.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3135, allocations: 66.09 MB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004184/0.3177, allocations: 2.713 MB / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3192, allocations: 0.7944 MB / 0.5642 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3193, allocations: 7.938 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.3196, allocations: 83.31 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.3198, allocations: 107.2 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3201, allocations: 107.8 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.3205, allocations: 422.3 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.3207, allocations: 111.8 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3209, allocations: 151.5 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.3211, allocations: 167.2 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.3212, allocations: 36 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.3213, allocations: 32 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.3213, allocations: 75.7 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.3215, allocations: 191 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.322, allocations: 424.1 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.322, allocations: 0 / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.322, allocations: 0 / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.322, allocations: 0 / 0.566 GB, free: 14.74 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.001059/0.3231, allocations: 0.6066 MB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3231, allocations: 12.03 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.3232, allocations: 70.66 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.3232, allocations: 40.7 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.3236, allocations: 232.8 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3237, allocations: 25.38 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.3237, allocations: 36.31 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.3244, allocations: 362 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3244, allocations: 4 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.3244, allocations: 12 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3244, allocations: 8 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.3251, allocations: 267.8 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.3273, allocations: 1.296 MB / 0.5689 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.3278, allocations: 186.6 kB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.328, allocations: 87.45 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.3281, allocations: 4 kB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3281, allocations: 30.56 kB / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.3281, allocations: 0 / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008247/0.3289, allocations: 261.3 kB / 0.5694 GB, free: 11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.329, allocations: 128.5 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.3294, allocations: 341.7 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3294, allocations: 25.7 kB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3296, allocations: 244.2 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.3297, allocations: 63.5 kB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.3298, allocations: 61.97 kB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3299, allocations: 338.8 kB / 0.5706 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3302, allocations: 88.38 kB / 0.5706 GB, free: 9.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.3304, allocations: 168.2 kB / 0.5708 GB, free: 9.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.331, allocations: 251.6 kB / 0.571 GB, free: 9.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.331, allocations: 0 / 0.571 GB, free: 9.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006943/0.3317, allocations: 321.1 kB / 0.5713 GB, free: 8.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3317, allocations: 4 kB / 0.5713 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3317, allocations: 8.25 kB / 0.5714 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3317, allocations: 7.938 kB / 0.5714 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.3321, allocations: 87.86 kB / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3321, allocations: 7.938 kB / 0.5715 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3324, allocations: 55.7 kB / 0.5715 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3325, allocations: 8 kB / 0.5715 GB, free: 8.68 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.0001798/0.3326, allocations: 159 kB / 0.5717 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3327, allocations: 27.81 kB / 0.5717 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.3328, allocations: 38.5 kB / 0.5717 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3328, allocations: 0 / 0.5717 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3328, allocations: 4 kB / 0.5717 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.3328, allocations: 3.984 kB / 0.5717 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.3337, allocations: 0.5633 MB / 0.5723 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3337, allocations: 0 / 0.5723 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.334, allocations: 59.88 kB / 0.5723 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.334, allocations: 0 / 0.5723 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.334, allocations: 7.938 kB / 0.5724 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.334, allocations: 4 kB / 0.5724 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.334, allocations: 160 / 0.5724 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.3346, allocations: 406.7 kB / 0.5727 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.3346, allocations: 27.81 kB / 0.5728 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3347, allocations: 11.94 kB / 0.5728 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3349, allocations: 15.97 kB / 0.5728 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.335, allocations: 15.98 kB / 0.5728 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.335, allocations: 4 kB / 0.5728 GB, free: 7.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.3352, allocations: 243.2 kB / 0.573 GB, free: 7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3352, allocations: 0 / 0.573 GB, free: 7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000411/0.3356, allocations: 71.83 kB / 0.5731 GB, free: 6.93 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.0008731/0.3365, allocations: 0.9343 MB / 0.574 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.3371, allocations: 195.7 kB / 0.5742 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3371, allocations: 0 / 0.5742 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.3373, allocations: 76.7 kB / 0.5743 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3377, allocations: 35.89 kB / 0.5743 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.342, allocations: 2.985 MB / 0.5772 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.3424, allocations: 0.7831 MB / 0.578 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.3425, allocations: 18.22 kB / 0.578 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3427, allocations: 107.4 kB / 0.5781 GB, free: 1.551 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3427, allocations: 4 kB / 0.5781 GB, free: 1.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.3739, allocations: 5.27 MB / 0.5833 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 0 / 0.5833 GB, free: 12.38 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.954315420996863]