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.001357/0.001357, allocations: 120.1 kB / 18.49 MB, free: 4.559 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.001489/0.001489, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.483/1.483, allocations: 230.4 MB / 254.7 MB, free: 14.82 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.2342/0.2342, allocations: 46.92 MB / 357.7 MB, free: 10.14 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 75.88 kB / 0.4916 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1182, allocations: 66.06 MB / 0.5561 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.0041/0.1223, allocations: 2.493 MB / 0.5586 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1237, allocations: 0.845 MB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1238, allocations: 4 kB / 0.5594 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.124, allocations: 51.45 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1243, allocations: 115.2 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1245, allocations: 99.8 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.1249, allocations: 361 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1251, allocations: 64.7 kB / 0.5601 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.1253, allocations: 147.5 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1255, allocations: 159.2 kB / 0.5604 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1256, allocations: 28 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.1257, allocations: 40 kB / 0.5604 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1257, allocations: 71.73 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1259, allocations: 155.2 kB / 0.5606 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.1263, allocations: 378.4 kB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1263, allocations: 3.938 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1263, allocations: 0 / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1263, allocations: 0 / 0.561 GB, free: 496 kB / 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.001162/0.1275, allocations: 0.6311 MB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1275, allocations: 12.03 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.431e-05/0.1276, allocations: 8.75 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/0.1276, allocations: 62.67 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1278, allocations: 44.69 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1281, allocations: 266.8 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1282, allocations: 16.94 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.1282, allocations: 24.38 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.1287, allocations: 256.7 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1288, allocations: 4 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.1288, allocations: 8 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1288, allocations: 8 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.1293, allocations: 234.1 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1309, allocations: 0.8795 MB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.1314, allocations: 286.6 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.1317, allocations: 120.8 kB / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.1318, allocations: 4 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1318, allocations: 38.56 kB / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.1318, allocations: 0 / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.004975/0.1368, allocations: 1.27 MB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1368, allocations: 51.41 kB / 0.5651 GB, free: 11.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1371, allocations: 233 kB / 0.5653 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1371, allocations: 29.7 kB / 0.5654 GB, free: 11.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1372, allocations: 169.2 kB / 0.5655 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/0.1373, allocations: 111.1 kB / 0.5656 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.1374, allocations: 45.7 kB / 0.5657 GB, free: 11.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1376, allocations: 338.8 kB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.1378, allocations: 99.89 kB / 0.5661 GB, free: 10.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.1381, allocations: 121.8 kB / 0.5662 GB, free: 10.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.1386, allocations: 235.8 kB / 0.5664 GB, free: 10.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1386, allocations: 0 / 0.5664 GB, free: 10.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001907/0.1405, allocations: 0.5451 MB / 0.567 GB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1405, allocations: 8 kB / 0.567 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1405, allocations: 4 kB / 0.567 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.1422, allocations: 315.1 kB / 0.5673 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1424, allocations: 27.92 kB / 0.5673 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008274/0.1507, allocations: 6.838 MB / 0.574 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1509, allocations: 31.81 kB / 0.574 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.151, allocations: 4 kB / 0.574 GB, free: 2.227 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.0001836/0.1511, allocations: 149.8 kB / 0.5742 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.1512, allocations: 31.75 kB / 0.5742 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.1531, allocations: 0.5434 MB / 0.5747 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1532, allocations: 3.938 kB / 0.5747 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1532, allocations: 3.984 kB / 0.5747 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1532, allocations: 4 kB / 0.5747 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1536, allocations: 361.3 kB / 0.5751 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1536, allocations: 4.188 kB / 0.5751 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.1538, allocations: 23.97 kB / 0.5751 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.1554, allocations: 311.1 kB / 0.5754 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1554, allocations: 12 kB / 0.5754 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008386/0.1638, allocations: 6.898 MB / 0.5821 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1638, allocations: 0 / 0.5821 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.1657, allocations: 0.6234 MB / 0.5828 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.1658, allocations: 100.9 kB / 0.5828 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1658, allocations: 11.92 kB / 0.5829 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1661, allocations: 12 kB / 0.5829 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1662, allocations: 31.95 kB / 0.5829 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1662, allocations: 11.94 kB / 0.5829 GB, free: 8.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.1664, allocations: 170 kB / 0.5831 GB, free: 8.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1664, allocations: 0 / 0.5831 GB, free: 8.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000535/0.1669, allocations: 123.9 kB / 0.5832 GB, free: 8.125 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.002249/0.1692, allocations: 1.168 MB / 0.5843 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.1704, allocations: 0.7411 MB / 0.5851 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1704, allocations: 0 / 0.5851 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.1718, allocations: 0.7211 MB / 0.5858 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1721, allocations: 30.78 kB / 0.5858 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.1787, allocations: 3.169 MB / 0.5889 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1792, allocations: 0.7756 MB / 0.5896 GB, free: 1.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.1792, allocations: 13.95 kB / 0.5897 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1793, allocations: 79.41 kB / 0.5897 GB, free: 1.141 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1793, allocations: 7.875 kB / 0.5897 GB, free: 1.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2831/0.4624, allocations: 11.08 MB / 0.6006 GB, free: 34.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.2, allocations: 4.312 kB / 0.6006 GB, free: 34.19 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.178988603001926]