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.001311/0.001311, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001486/0.001486, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.248/0.248, 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.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.002312/0.002312, allocations: 75.89 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3255, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004046/0.3296, allocations: 2.501 MB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3312, allocations: 0.8567 MB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.3314, allocations: 4 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3316, allocations: 55.45 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3319, allocations: 113.1 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.3322, allocations: 99.86 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.3326, allocations: 358.7 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.3328, allocations: 68.91 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.3331, allocations: 143.5 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3334, allocations: 167.2 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.3334, allocations: 28 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.3335, allocations: 35.98 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.3336, allocations: 63.77 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.3337, allocations: 159.2 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.3342, allocations: 374.4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3342, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3342, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.3342, allocations: 0 / 0.5664 GB, free: 15.27 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.001191/0.3354, allocations: 0.5673 MB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3355, allocations: 12.03 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.3355, allocations: 8.688 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.3355, allocations: 62.72 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3357, allocations: 40.7 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.3361, allocations: 205 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3361, allocations: 20.88 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.3362, allocations: 28.31 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.3367, allocations: 255.9 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3367, allocations: 0 / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3367, allocations: 12 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3368, allocations: 4 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.3373, allocations: 229.9 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.3388, allocations: 0.847 MB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.3394, allocations: 274.7 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3397, allocations: 128.8 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.3398, allocations: 4 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3398, allocations: 42.55 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.3398, allocations: 3.938 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.0047/0.3445, allocations: 0.9605 MB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3445, allocations: 55.41 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3448, allocations: 233.1 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3449, allocations: 33.7 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.345, allocations: 165.3 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3451, allocations: 115 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3452, allocations: 49.7 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3454, allocations: 338.8 kB / 0.5709 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3456, allocations: 95.95 kB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.3459, allocations: 118.8 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.3464, allocations: 239.2 kB / 0.5713 GB, free: 9.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3464, allocations: 0 / 0.5713 GB, free: 9.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001896/0.3483, allocations: 0.5411 MB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3483, allocations: 8 kB / 0.5719 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3483, allocations: 0 / 0.5719 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.3501, allocations: 311.1 kB / 0.5722 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3503, allocations: 27.97 kB / 0.5722 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/0.3586, allocations: 6.444 MB / 0.5785 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.3589, allocations: 35.86 kB / 0.5785 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.3589, allocations: 8 kB / 0.5785 GB, free: 2.09 MB / 414.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.0001952/0.3591, allocations: 141.8 kB / 0.5787 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3592, allocations: 27.81 kB / 0.5787 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.3612, allocations: 0.5501 MB / 0.5792 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3612, allocations: 7.938 kB / 0.5792 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3612, allocations: 3.984 kB / 0.5792 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3612, allocations: 0 / 0.5792 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.3617, allocations: 328.4 kB / 0.5796 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3617, allocations: 0 / 0.5796 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3618, allocations: 23.97 kB / 0.5796 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.3635, allocations: 315.1 kB / 0.5799 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.3635, allocations: 8 kB / 0.5799 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.3728, allocations: 6.496 MB / 0.5862 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3728, allocations: 0 / 0.5862 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.375, allocations: 0.6167 MB / 0.5868 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3752, allocations: 35.75 kB / 0.5869 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.3752, allocations: 4 kB / 0.5869 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3755, allocations: 11.98 kB / 0.5869 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.3756, allocations: 35.94 kB / 0.5869 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3757, allocations: 4 kB / 0.5869 GB, free: 8.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.3759, allocations: 177.2 kB / 0.5871 GB, free: 8.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3759, allocations: 0 / 0.5871 GB, free: 8.754 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008009/0.3767, allocations: 127.8 kB / 0.5872 GB, free: 8.629 MB / 430.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.00244/0.3792, allocations: 1.156 MB / 0.5883 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.3807, allocations: 0.7328 MB / 0.5891 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.3807, allocations: 8.062 kB / 0.5891 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.3824, allocations: 0.7176 MB / 0.5898 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3829, allocations: 19.25 kB / 0.5898 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/0.3903, allocations: 3.191 MB / 0.5929 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.391, allocations: 0.7756 MB / 0.5937 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.039e-05/0.3911, allocations: 9.953 kB / 0.5937 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3912, allocations: 79.41 kB / 0.5937 GB, free: 1.645 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3912, allocations: 0 / 0.5937 GB, free: 1.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.4433, allocations: 11.4 MB / 0.6049 GB, free: 6.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/13.99, allocations: 19.55 kB / 0.6049 GB, free: 6.367 MB / 446.1 MB " [Timeout remaining time 646] (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.960462208953686]