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.001732/0.001732, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002516/0.002516, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2292/0.2292, allocations: 46.92 MB / 361.6 MB, free: 4.176 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 83.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3081, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004667/0.3128, allocations: 2.717 MB / 0.5641 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3144, allocations: 0.7944 MB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3146, allocations: 7.938 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.3148, allocations: 67.38 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.3151, allocations: 119.1 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3153, allocations: 107.9 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.3158, allocations: 422.2 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.316, allocations: 103.9 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3162, allocations: 147.5 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3164, allocations: 171.1 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.3165, allocations: 32 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.3165, allocations: 40 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.3166, allocations: 79.69 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.3167, allocations: 183 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.3172, allocations: 428.3 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3172, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3172, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3172, allocations: 0 / 0.5667 GB, free: 14.91 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.001053/0.3183, allocations: 0.6066 MB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3183, allocations: 12.03 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.3183, allocations: 9.188 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.3184, allocations: 70.66 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.3185, allocations: 44.64 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3188, allocations: 232.8 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3189, allocations: 25.38 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.3189, allocations: 40.36 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.3196, allocations: 353.9 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3196, allocations: 0 / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3196, allocations: 16 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3196, allocations: 12 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.3203, allocations: 263.8 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.3224, allocations: 1.292 MB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.3229, allocations: 198.5 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.3231, allocations: 79.56 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3232, allocations: 4 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3232, allocations: 42.55 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.3232, allocations: 0 / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008153/0.324, allocations: 257.3 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.3241, allocations: 132.5 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.3245, allocations: 341.7 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3245, allocations: 29.7 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.3247, allocations: 248.1 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.3247, allocations: 51.53 kB / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.3248, allocations: 53.94 kB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.325, allocations: 350.8 kB / 0.5713 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.3252, allocations: 76.5 kB / 0.5714 GB, free: 9.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3255, allocations: 176.1 kB / 0.5716 GB, free: 9.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.3261, allocations: 254.9 kB / 0.5718 GB, free: 9.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3261, allocations: 0 / 0.5718 GB, free: 9.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000681/0.3267, allocations: 305.1 kB / 0.5721 GB, free: 9.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3268, allocations: 8 kB / 0.5721 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3268, allocations: 4 kB / 0.5721 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3268, allocations: 4 kB / 0.5721 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.3272, allocations: 100 kB / 0.5722 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3272, allocations: 7.984 kB / 0.5722 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.3275, allocations: 44.28 kB / 0.5723 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3275, allocations: 16 kB / 0.5723 GB, free: 8.84 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.0001643/0.3277, allocations: 155 kB / 0.5724 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3278, allocations: 27.81 kB / 0.5725 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/0.3278, allocations: 42.48 kB / 0.5725 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3279, allocations: 0 / 0.5725 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3279, allocations: 8 kB / 0.5725 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3279, allocations: 0 / 0.5725 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.3287, allocations: 0.5595 MB / 0.5731 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3287, allocations: 4.031 kB / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.329, allocations: 59.88 kB / 0.5731 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.329, allocations: 3.938 kB / 0.5731 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.329, allocations: 8 kB / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.329, allocations: 4 kB / 0.5731 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.329, allocations: 0 / 0.5731 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.3296, allocations: 406.7 kB / 0.5735 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.3297, allocations: 27.81 kB / 0.5735 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3297, allocations: 11.92 kB / 0.5736 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.33, allocations: 15.98 kB / 0.5736 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.33, allocations: 7.984 kB / 0.5736 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.33, allocations: 15.98 kB / 0.5736 GB, free: 7.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.3303, allocations: 231.2 kB / 0.5738 GB, free: 7.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3303, allocations: 4 kB / 0.5738 GB, free: 7.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.3307, allocations: 75.83 kB / 0.5739 GB, free: 7.086 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.0008912/0.3316, allocations: 0.9324 MB / 0.5748 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.3321, allocations: 191.9 kB / 0.575 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3321, allocations: 0 / 0.575 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3324, allocations: 79.88 kB / 0.5751 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.3328, allocations: 30.12 kB / 0.5751 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.3369, allocations: 3.001 MB / 0.578 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3373, allocations: 0.7753 MB / 0.5788 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3374, allocations: 25.94 kB / 0.5788 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3376, allocations: 103.4 kB / 0.5789 GB, free: 1.703 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3376, allocations: 0 / 0.5789 GB, free: 1.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.3631, allocations: 5.298 MB / 0.5841 GB, free: 12.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.94, allocations: 4.062 kB / 0.5841 GB, free: 12.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.953293701983057]