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.001509/0.001509, 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.001674/0.001674, allocations: 214.9 kB / 23.73 MB, free: 4.16 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2428/0.2428, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.002366/0.002366, allocations: 79.88 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3318, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004142/0.3359, allocations: 2.501 MB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3374, allocations: 0.7477 MB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3375, allocations: 8 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.3377, allocations: 67.38 kB / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.338, allocations: 111.2 kB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3382, allocations: 115.8 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.3386, allocations: 426.2 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.3388, allocations: 91.86 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3391, allocations: 163.4 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.3392, allocations: 143.2 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.3393, allocations: 32 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.395e-05/0.3394, allocations: 40 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.3394, allocations: 75.7 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3396, allocations: 151.2 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.3401, allocations: 432.1 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3401, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3401, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3401, 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.001047/0.3411, allocations: 0.6066 MB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3412, allocations: 12.03 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.387e-05/0.3412, allocations: 70.72 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.3413, allocations: 40.7 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.3417, allocations: 224.9 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3417, allocations: 21.38 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.3418, allocations: 40.31 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.3424, allocations: 366 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3424, allocations: 0 / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.3424, allocations: 16 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3425, allocations: 11.98 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.3431, allocations: 267.8 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.3451, allocations: 1.222 MB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3456, allocations: 194.6 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3458, allocations: 75.52 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3458, allocations: 11.94 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3458, allocations: 34.56 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3458, allocations: 0 / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007368/0.3466, allocations: 257.3 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.3466, allocations: 136.5 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.3471, allocations: 345.6 kB / 0.5694 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3471, allocations: 25.7 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3472, allocations: 252.1 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.3473, allocations: 51.59 kB / 0.5698 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.3474, allocations: 57.94 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3475, allocations: 346.7 kB / 0.5701 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3478, allocations: 76.5 kB / 0.5702 GB, free: 9.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.348, allocations: 172.1 kB / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.3485, allocations: 255.1 kB / 0.5706 GB, free: 9.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3485, allocations: 0 / 0.5706 GB, free: 9.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006421/0.3492, allocations: 305.4 kB / 0.5709 GB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3492, allocations: 12 kB / 0.5709 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3492, allocations: 4 kB / 0.5709 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3492, allocations: 4 kB / 0.5709 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3496, allocations: 87.86 kB / 0.571 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3496, allocations: 7.938 kB / 0.571 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3499, allocations: 56.16 kB / 0.5711 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3499, allocations: 15.98 kB / 0.5711 GB, free: 8.949 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.0001494/0.35, allocations: 153.7 kB / 0.5712 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.3501, allocations: 31.77 kB / 0.5713 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.033e-05/0.3502, allocations: 34.5 kB / 0.5713 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3502, allocations: 4 kB / 0.5713 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3502, allocations: 0 / 0.5713 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3502, allocations: 8 kB / 0.5713 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007729/0.351, allocations: 0.5399 MB / 0.5718 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.351, allocations: 160 / 0.5718 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.3513, allocations: 59.94 kB / 0.5719 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3513, allocations: 0 / 0.5719 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.3513, allocations: 11.94 kB / 0.5719 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3513, allocations: 7.938 kB / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3513, allocations: 0 / 0.5719 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.3518, allocations: 401.2 kB / 0.5723 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3519, allocations: 35.7 kB / 0.5723 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.3519, allocations: 7.938 kB / 0.5723 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.3522, allocations: 19.97 kB / 0.5724 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.3522, allocations: 7.984 kB / 0.5724 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3522, allocations: 12 kB / 0.5724 GB, free: 7.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.3525, allocations: 235.2 kB / 0.5726 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 0.5726 GB, free: 7.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.3529, allocations: 67.89 kB / 0.5727 GB, free: 7.23 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.0008767/0.3537, allocations: 0.9382 MB / 0.5736 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.3543, allocations: 187.8 kB / 0.5738 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3543, allocations: 0 / 0.5738 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3545, allocations: 79.83 kB / 0.5738 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3549, allocations: 27.77 kB / 0.5739 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.3589, allocations: 3.005 MB / 0.5768 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.3591, allocations: 173.1 kB / 0.577 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.3592, allocations: 25.94 kB / 0.577 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3594, allocations: 107.4 kB / 0.5771 GB, free: 2.453 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3594, allocations: 0 / 0.5771 GB, free: 2.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.3911, allocations: 5.543 MB / 0.5825 GB, free: 13.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.89, allocations: 7.438 kB / 0.5825 GB, free: 13.01 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: 15.035205745138228]