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.0008163/0.0008163, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 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.0008693/0.0008693, allocations: 156.9 kB / 24.26 MB, free: 180 kB / 18.57 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 0.9072/0.9072, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2815/0.2815, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 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 2.194e-06/2.194e-06, allocations: 0 / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.693e-05, allocations: 2.312 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00304/0.003067, allocations: 2.508 MB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.00454, allocations: 0.7592 MB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.004676, allocations: 4 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.004901, allocations: 75.31 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.005116, allocations: 103.2 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.005369, allocations: 115.8 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.005661, allocations: 430.3 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.005843, allocations: 103.8 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.006036, allocations: 227.5 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.006146, allocations: 123.6 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.006188, allocations: 32 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.006222, allocations: 32 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.00627, allocations: 83.66 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.006353, allocations: 119.7 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.006645, allocations: 430.5 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.006649, allocations: 4 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006649, allocations: 7.938 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.006655, allocations: 0 / 381.8 MB, free: 14.27 MB / 362.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.0006723/0.007327, allocations: 0.5949 MB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.007368, allocations: 8.031 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.007423, allocations: 74.7 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.007496, allocations: 76.66 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.007736, allocations: 224.5 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.007758, allocations: 25.38 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.007787, allocations: 36.38 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.008226, allocations: 362.7 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008237, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.008262, allocations: 16 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.008271, allocations: 12 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.008641, allocations: 259.8 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.009853, allocations: 1.231 MB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.01015, allocations: 202.4 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.01027, allocations: 75.56 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.0103, allocations: 8 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.01032, allocations: 38.5 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.01032, allocations: 0 / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004725/0.0108, allocations: 257.2 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.01084, allocations: 132.5 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.01109, allocations: 349.5 kB / 385.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.0111, allocations: 29.7 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.01122, allocations: 248.1 kB / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.01125, allocations: 55.7 kB / 386.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.01131, allocations: 53.94 kB / 386.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.0114, allocations: 346.8 kB / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.01153, allocations: 76.5 kB / 386.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01169, allocations: 176 kB / 386.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.01225, allocations: 250.9 kB / 387 MB, free: 8.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.01226, allocations: 3.938 kB / 387 MB, free: 8.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003833/0.01264, allocations: 321 kB / 387.3 MB, free: 8.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01265, allocations: 4 kB / 387.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01266, allocations: 4 kB / 387.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01267, allocations: 4 kB / 387.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.01288, allocations: 96.11 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.01289, allocations: 11.94 kB / 387.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01302, allocations: 51.64 kB / 387.4 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01303, allocations: 12 kB / 387.5 MB, free: 8.242 MB / 362.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.0001047/0.01313, allocations: 149.7 kB / 387.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.01319, allocations: 32.38 kB / 387.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.01324, allocations: 38.56 kB / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01324, allocations: 0 / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01325, allocations: 8 kB / 387.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01325, allocations: 288 / 387.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.01375, allocations: 0.5476 MB / 388.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01376, allocations: 0 / 388.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.01389, allocations: 59.88 kB / 388.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.01389, allocations: 7.984 kB / 388.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.0139, allocations: 8.156 kB / 388.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.0139, allocations: 4 kB / 388.3 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01391, allocations: 3.938 kB / 388.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.01423, allocations: 398.7 kB / 388.7 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.01426, allocations: 31.75 kB / 388.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01428, allocations: 8 kB / 388.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.01439, allocations: 19.97 kB / 388.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.01445, allocations: 15.92 kB / 388.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.01446, allocations: 8 kB / 388.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.01463, allocations: 239.2 kB / 389 MB, free: 6.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 0 / 389 MB, free: 6.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01488, allocations: 71.84 kB / 389.1 MB, free: 6.508 MB / 362.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.0005229/0.0154, allocations: 0.9342 MB / 390 MB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01572, allocations: 186.1 kB / 390.2 MB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01572, allocations: 0 / 390.2 MB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.01584, allocations: 80.58 kB / 390.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.01616, allocations: 29.42 kB / 390.3 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.01903, allocations: 3.019 MB / 393.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.01916, allocations: 168.8 kB / 393.5 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.232e-05/0.01924, allocations: 21.94 kB / 393.5 MB, free: 1.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.01938, allocations: 104.5 kB / 393.6 MB, free: 1.719 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01938, allocations: 4 kB / 393.6 MB, free: 1.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.04018, allocations: 5.765 MB / 399.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.135, allocations: 11.78 kB / 399.4 MB, free: 12.02 MB / 378.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/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: 9.121687967330217]