Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.92 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 0.4938 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3391, allocations: 65.46 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005135/0.3442, allocations: 3.563 MB / 0.5613 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3458, allocations: 0.8296 MB / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3459, allocations: 15.94 kB / 0.5621 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.3461, allocations: 71.23 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3464, allocations: 134.8 kB / 0.5623 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3467, allocations: 123.8 kB / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.3473, allocations: 0.5258 MB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.3476, allocations: 182.3 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.3479, allocations: 211.3 kB / 0.5633 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.3482, allocations: 238.9 kB / 0.5635 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.3483, allocations: 48 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.3484, allocations: 52 kB / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3485, allocations: 107.6 kB / 0.5637 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.3487, allocations: 242.9 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.3493, allocations: 0.5641 MB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3493, allocations: 0 / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3493, allocations: 0 / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3494, allocations: 4 kB / 0.5645 GB, free: 0.8594 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001351/0.3507, allocations: 0.7 MB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3507, allocations: 8.031 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.177e-05/0.3508, allocations: 13.19 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.3509, allocations: 90.64 kB / 0.5653 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.351, allocations: 55.84 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.3514, allocations: 255.7 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.3515, allocations: 37.38 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.3515, allocations: 53.12 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.3524, allocations: 455.2 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3524, allocations: 0 / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.3525, allocations: 23.94 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3525, allocations: 15.94 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.3532, allocations: 324.1 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.3558, allocations: 1.619 MB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.3564, allocations: 229 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.3568, allocations: 125.9 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3568, allocations: 11.88 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3568, allocations: 38.56 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.3568, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003016/0.3599, allocations: 1.131 MB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.3599, allocations: 81.11 kB / 0.5696 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3602, allocations: 257.9 kB / 0.5699 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.3602, allocations: 37.7 kB / 0.5699 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3604, allocations: 264.1 kB / 0.5701 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3605, allocations: 131 kB / 0.5703 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3607, allocations: 78.08 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3608, allocations: 338.8 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.3611, allocations: 112.8 kB / 0.5708 GB, free: 10.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3615, allocations: 208.3 kB / 0.571 GB, free: 9.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.3622, allocations: 340 kB / 0.5713 GB, free: 9.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3622, allocations: 4 kB / 0.5713 GB, free: 9.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009066/0.3631, allocations: 424.2 kB / 0.5717 GB, free: 9.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3631, allocations: 8 kB / 0.5717 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3631, allocations: 0 / 0.5717 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.3633, allocations: 33.22 kB / 0.5717 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.3637, allocations: 119.9 kB / 0.5719 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.365, allocations: 1.346 MB / 0.5732 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.3653, allocations: 12 kB / 0.5732 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3653, allocations: 23.92 kB / 0.5732 GB, free: 7.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.3655, allocations: 173.7 kB / 0.5734 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.3656, allocations: 31.81 kB / 0.5734 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.3657, allocations: 38.11 kB / 0.5734 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3657, allocations: 8 kB / 0.5734 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3657, allocations: 4 kB / 0.5734 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3657, allocations: 0 / 0.5734 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3669, allocations: 0.6861 MB / 0.5741 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3669, allocations: 7.938 kB / 0.5741 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.3673, allocations: 91.88 kB / 0.5742 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-05/0.3674, allocations: 24.84 kB / 0.5742 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3674, allocations: 8 kB / 0.5742 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3685, allocations: 1.327 MB / 0.5755 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3685, allocations: 4.031 kB / 0.5755 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3696, allocations: 0.6118 MB / 0.5761 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.3697, allocations: 47.83 kB / 0.5762 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3698, allocations: 8 kB / 0.5762 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.37, allocations: 19.98 kB / 0.5762 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3701, allocations: 27.89 kB / 0.5762 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.3701, allocations: 8 kB / 0.5762 GB, free: 4.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.3703, allocations: 185.2 kB / 0.5764 GB, free: 3.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3703, allocations: 4 kB / 0.5764 GB, free: 3.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.3708, allocations: 95.94 kB / 0.5765 GB, free: 3.785 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.3722, allocations: 1.143 MB / 0.5776 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008596/0.373, allocations: 392.7 kB / 0.578 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.373, allocations: 4 kB / 0.578 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.3735, allocations: 238.5 kB / 0.5782 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.374, allocations: 53.22 kB / 0.5783 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.3792, allocations: 3.481 MB / 0.5817 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.3796, allocations: 0.8152 MB / 0.5825 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.3798, allocations: 38.95 kB / 0.5825 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.38, allocations: 135.4 kB / 0.5827 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.38, allocations: 0 / 0.5827 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.4122, allocations: 6.921 MB / 0.5894 GB, free: 6.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.6, allocations: 6.469 kB / 0.5894 GB, free: 6.488 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 15.900279261986725]