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.001688/0.001688, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001554/0.001554, allocations: 213.4 kB / 23.77 MB, free: 4.438 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.476/1.476, allocations: 230.5 MB / 257.5 MB, free: 7.727 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.2375/0.2375, allocations: 46.94 MB / 360.9 MB, free: 3.906 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.002806/0.002806, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.353, allocations: 66.09 MB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004381/0.3574, allocations: 2.509 MB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3589, allocations: 0.7439 MB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.359, allocations: 8 kB / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3592, allocations: 79.3 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.3595, allocations: 107.2 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.3598, allocations: 115.8 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.3602, allocations: 426.3 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.3605, allocations: 87.95 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.3607, allocations: 159.4 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3609, allocations: 151 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.3609, allocations: 32 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.361, allocations: 32 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.3611, allocations: 79.7 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3612, allocations: 147.2 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.3617, allocations: 428.1 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3617, allocations: 0 / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.3617, allocations: 4 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.3617, allocations: 4 kB / 0.5657 GB, free: 14.93 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.001098/0.3628, allocations: 0.6027 MB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3629, allocations: 8.031 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.363, allocations: 74.72 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.363, allocations: 48.64 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.3634, allocations: 221.3 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.3635, allocations: 29.38 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.3635, allocations: 28.38 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.3642, allocations: 366 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3642, allocations: 4 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.3643, allocations: 8 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.3643, allocations: 12 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.3649, allocations: 267.8 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.3671, allocations: 1.227 MB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.3676, allocations: 190.5 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3678, allocations: 83.55 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.3679, allocations: 4 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3679, allocations: 34.5 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.3679, allocations: 0 / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008716/0.3688, allocations: 257.6 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.3689, allocations: 136.5 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.3693, allocations: 345.6 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3694, allocations: 25.7 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3696, allocations: 248.1 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.3696, allocations: 51.59 kB / 0.5698 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3697, allocations: 62.06 kB / 0.5699 GB, free: 10.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3699, allocations: 346.7 kB / 0.5702 GB, free: 10 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3702, allocations: 84.56 kB / 0.5703 GB, free: 9.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.3705, allocations: 172.1 kB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.371, allocations: 246.9 kB / 0.5707 GB, free: 9.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.371, allocations: 4 kB / 0.5707 GB, free: 9.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007516/0.3718, allocations: 309.1 kB / 0.571 GB, free: 9.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3718, allocations: 6.031 kB / 0.571 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3718, allocations: 7.938 kB / 0.571 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3718, allocations: 4 kB / 0.571 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.3723, allocations: 96.11 kB / 0.5711 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3723, allocations: 4 kB / 0.5711 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.3726, allocations: 51.66 kB / 0.5712 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3726, allocations: 8 kB / 0.5712 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.0001679/0.3728, allocations: 157.6 kB / 0.5713 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3729, allocations: 35.77 kB / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.3729, allocations: 34.56 kB / 0.5714 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3729, allocations: 4 kB / 0.5714 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.373, allocations: 4.281 kB / 0.5714 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.373, allocations: 0 / 0.5714 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.3738, allocations: 0.5399 MB / 0.5719 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3738, allocations: 4 kB / 0.5719 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.3741, allocations: 55.92 kB / 0.572 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3741, allocations: 4 kB / 0.572 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3741, allocations: 12.09 kB / 0.572 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3741, allocations: 4 kB / 0.572 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.3741, allocations: 7.938 kB / 0.572 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.3747, allocations: 390.9 kB / 0.5724 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3748, allocations: 35.7 kB / 0.5724 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.3748, allocations: 7.938 kB / 0.5724 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3751, allocations: 23.97 kB / 0.5725 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.3752, allocations: 15.92 kB / 0.5725 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3752, allocations: 8 kB / 0.5725 GB, free: 7.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.3755, allocations: 239.2 kB / 0.5727 GB, free: 7.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 0 / 0.5727 GB, free: 7.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.3759, allocations: 71.89 kB / 0.5728 GB, free: 7.215 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.0009349/0.3768, allocations: 0.933 MB / 0.5737 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.3774, allocations: 187.7 kB / 0.5739 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3774, allocations: 4 kB / 0.5739 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.3776, allocations: 80.52 kB / 0.5739 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.378, allocations: 33.42 kB / 0.574 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.3826, allocations: 2.995 MB / 0.5769 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3828, allocations: 172.8 kB / 0.5771 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.3829, allocations: 17.95 kB / 0.5771 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3831, allocations: 108.6 kB / 0.5772 GB, free: 2.453 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3831, allocations: 0 / 0.5772 GB, free: 2.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.4176, allocations: 5.627 MB / 0.5827 GB, free: 12.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.82, allocations: 18.42 kB / 0.5827 GB, free: 12.91 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.864193372020964]