Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001735/0.001735, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002133/0.002133, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2421/0.2421, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 91.8 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3544, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005354/0.3597, allocations: 3.232 MB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3614, allocations: 0.7964 MB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.3616, allocations: 11.94 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3618, allocations: 67.3 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.362, allocations: 142.7 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3624, allocations: 127.8 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005775/0.363, allocations: 0.5141 MB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.3633, allocations: 174.3 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.3636, allocations: 219.3 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.3638, allocations: 199 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.3639, allocations: 51.94 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.364, allocations: 48 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3641, allocations: 115.6 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.3643, allocations: 207 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.365, allocations: 0.5602 MB / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.365, allocations: 0 / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.365, allocations: 0 / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.365, allocations: 4 kB / 0.567 GB, free: 13.55 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001413/0.3664, allocations: 0.6922 MB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/0.3665, allocations: 12.03 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.3666, allocations: 86.7 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3667, allocations: 52.61 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.3673, allocations: 263.7 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.3674, allocations: 37.38 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.3675, allocations: 44.38 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.3684, allocations: 0.5065 MB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3685, allocations: 3.984 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.3685, allocations: 24 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3685, allocations: 12 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.3693, allocations: 324.1 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.3721, allocations: 1.51 MB / 0.5704 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.3726, allocations: 229 kB / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.373, allocations: 125.7 kB / 0.5708 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.373, allocations: 0 / 0.5708 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.373, allocations: 42.75 kB / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.373, allocations: 0 / 0.5708 GB, free: 9.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003179/0.3762, allocations: 1.13 MB / 0.5719 GB, free: 8.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.3763, allocations: 85.05 kB / 0.572 GB, free: 8.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.3766, allocations: 269.8 kB / 0.5723 GB, free: 7.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.3766, allocations: 33.7 kB / 0.5723 GB, free: 7.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3768, allocations: 264.1 kB / 0.5725 GB, free: 7.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.377, allocations: 134.9 kB / 0.5727 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3771, allocations: 70.14 kB / 0.5727 GB, free: 7.305 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3773, allocations: 346.7 kB / 0.5731 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.3775, allocations: 104.8 kB / 0.5732 GB, free: 6.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.3779, allocations: 212.3 kB / 0.5734 GB, free: 6.609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.3786, allocations: 346.5 kB / 0.5737 GB, free: 6.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3786, allocations: 0 / 0.5737 GB, free: 6.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009407/0.3795, allocations: 418 kB / 0.5741 GB, free: 5.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3795, allocations: 4 kB / 0.5741 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3795, allocations: 4 kB / 0.5741 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.3797, allocations: 32.78 kB / 0.5741 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.3802, allocations: 123.8 kB / 0.5743 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.3814, allocations: 1.335 MB / 0.5756 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3816, allocations: 16 kB / 0.5756 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3817, allocations: 19.98 kB / 0.5756 GB, free: 4.152 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.000226/0.3819, allocations: 165.7 kB / 0.5758 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.382, allocations: 31.81 kB / 0.5758 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.3821, allocations: 42.11 kB / 0.5758 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3821, allocations: 8.062 kB / 0.5758 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3821, allocations: 0 / 0.5758 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3821, allocations: 0 / 0.5758 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.3832, allocations: 0.6482 MB / 0.5765 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3833, allocations: 0 / 0.5765 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.3837, allocations: 95.94 kB / 0.5766 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.946e-05/0.3838, allocations: 28.78 kB / 0.5766 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3838, allocations: 12 kB / 0.5766 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.3849, allocations: 1.319 MB / 0.5779 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3849, allocations: 3.938 kB / 0.5779 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.386, allocations: 0.6055 MB / 0.5785 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3861, allocations: 51.83 kB / 0.5785 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.3861, allocations: 8 kB / 0.5785 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.3864, allocations: 23.86 kB / 0.5786 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.3865, allocations: 31.94 kB / 0.5786 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3865, allocations: 8 kB / 0.5786 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.3867, allocations: 185.2 kB / 0.5788 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3867, allocations: 0 / 0.5788 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004709/0.3872, allocations: 92 kB / 0.5789 GB, free: 0.5977 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.001396/0.3886, allocations: 1.151 MB / 0.58 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008834/0.3895, allocations: 396.8 kB / 0.5804 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3895, allocations: 0 / 0.5804 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.3899, allocations: 249.9 kB / 0.5806 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.3904, allocations: 46.59 kB / 0.5807 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.3957, allocations: 3.489 MB / 0.5841 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3959, allocations: 211.8 kB / 0.5843 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.3961, allocations: 38.95 kB / 0.5843 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3963, allocations: 139.4 kB / 0.5844 GB, free: 10.64 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3963, allocations: 0 / 0.5844 GB, free: 10.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4362, allocations: 7.2 MB / 0.5915 GB, free: 3.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.03, allocations: 7.5 kB / 0.5915 GB, free: 3.582 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.185778480023146]