Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.00186/0.00186, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002557/0.002557, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.604/1.604, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2358/0.2358, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 79.86 kB / 0.4912 GB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 65.99 MB / 0.5557 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004433/0.1231, allocations: 2.492 MB / 0.5581 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1249, allocations: 0.8412 MB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1251, allocations: 4 kB / 0.5589 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1254, allocations: 59.44 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.1257, allocations: 99.25 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1261, allocations: 115.8 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.1265, allocations: 354.7 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1267, allocations: 68.7 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.1271, allocations: 139.5 kB / 0.5597 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1274, allocations: 167.2 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.1274, allocations: 28 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1276, allocations: 36 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.1276, allocations: 63.77 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1278, allocations: 155.2 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.1283, allocations: 382.4 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1283, allocations: 0 / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1283, allocations: 0 / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1283, allocations: 3.938 kB / 0.5605 GB, free: 1.219 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001311/0.1297, allocations: 0.635 MB / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1297, allocations: 8.031 kB / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.1298, allocations: 62.66 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.13, allocations: 40.7 kB / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.1304, allocations: 282.8 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1304, allocations: 16.94 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.1305, allocations: 24.38 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.131, allocations: 245.1 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.131, allocations: 7.938 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.1311, allocations: 11.98 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1311, allocations: 8 kB / 0.5618 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.1316, allocations: 226.1 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1332, allocations: 0.8794 MB / 0.5629 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.1338, allocations: 283 kB / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.134, allocations: 124.8 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.1341, allocations: 7.984 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1341, allocations: 42.48 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.1341, allocations: 0 / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.004913/0.139, allocations: 1.254 MB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1391, allocations: 59.34 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1394, allocations: 241.2 kB / 0.5649 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.1394, allocations: 29.7 kB / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1395, allocations: 168.7 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.1396, allocations: 107.1 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1397, allocations: 53.7 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1399, allocations: 338.8 kB / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.1401, allocations: 91.95 kB / 0.5656 GB, free: 11.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.1404, allocations: 121.8 kB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.1409, allocations: 243.2 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1409, allocations: 0 / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00197/0.1428, allocations: 0.5412 MB / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1429, allocations: 8 kB / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1429, allocations: 0 / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.1447, allocations: 311.1 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1449, allocations: 23.97 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/0.1536, allocations: 6.856 MB / 0.5735 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1539, allocations: 31.81 kB / 0.5735 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.1539, allocations: 8 kB / 0.5735 GB, free: 2.953 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.1541, allocations: 141.7 kB / 0.5737 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1542, allocations: 27.81 kB / 0.5737 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.1561, allocations: 0.5479 MB / 0.5742 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.1561, allocations: 4 kB / 0.5742 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1561, allocations: 3.938 kB / 0.5743 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1561, allocations: 7.984 kB / 0.5743 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.1566, allocations: 361.3 kB / 0.5746 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1566, allocations: 0 / 0.5746 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1567, allocations: 19.98 kB / 0.5746 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.1584, allocations: 311.1 kB / 0.5749 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.1584, allocations: 8 kB / 0.5749 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008409/0.1668, allocations: 6.906 MB / 0.5817 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1668, allocations: 0 / 0.5817 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.1687, allocations: 0.6157 MB / 0.5823 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1688, allocations: 116.8 kB / 0.5824 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1689, allocations: 4 kB / 0.5824 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1691, allocations: 11.98 kB / 0.5824 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.1692, allocations: 35.89 kB / 0.5824 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1692, allocations: 4 kB / 0.5824 GB, free: 9.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1694, allocations: 174 kB / 0.5826 GB, free: 8.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1694, allocations: 3.938 kB / 0.5826 GB, free: 8.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.17, allocations: 123.9 kB / 0.5827 GB, free: 8.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002258/0.1723, allocations: 1.163 MB / 0.5839 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.1735, allocations: 0.7531 MB / 0.5846 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1735, allocations: 0 / 0.5846 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.1749, allocations: 0.7211 MB / 0.5853 GB, free: 6.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1752, allocations: 20.56 kB / 0.5853 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/0.1821, allocations: 3.165 MB / 0.5884 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1826, allocations: 0.7756 MB / 0.5892 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.094e-05/0.1827, allocations: 13.94 kB / 0.5892 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1828, allocations: 79.41 kB / 0.5893 GB, free: 1.875 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1828, allocations: 4 kB / 0.5893 GB, free: 1.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/0.4629, allocations: 11.04 MB / 0.6 GB, free: 35.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.09, allocations: 14.16 kB / 0.6001 GB, free: 35.01 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 16.229473017621785]