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.00177/0.00177, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002164/0.002164, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2351/0.2351, allocations: 46.92 MB / 360.8 MB, free: 4.195 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.002709/0.002709, allocations: 75.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.329, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005554/0.3346, allocations: 3.545 MB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3366, allocations: 0.8352 MB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.3368, allocations: 11.94 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.3371, allocations: 75.23 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.3374, allocations: 130.8 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.3379, allocations: 131.8 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.3386, allocations: 0.5141 MB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.3389, allocations: 186.3 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.3392, allocations: 215.3 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.3395, allocations: 234.9 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.3396, allocations: 48 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.3397, allocations: 52 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3398, allocations: 119.6 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3401, allocations: 242.9 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.3408, allocations: 0.5563 MB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3408, allocations: 0 / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3408, allocations: 4 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3408, allocations: 0 / 0.5674 GB, free: 13.39 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.001359/0.3421, allocations: 0.6922 MB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3422, allocations: 8.031 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.4e-05/0.3423, allocations: 90.7 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.3424, allocations: 52.61 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.3429, allocations: 267.7 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.3429, allocations: 33.38 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.343, allocations: 52.3 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.3439, allocations: 467.3 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3439, allocations: 0 / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.3439, allocations: 20 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.344, allocations: 12 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.3447, allocations: 328.1 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3473, allocations: 1.615 MB / 0.571 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.3479, allocations: 225 kB / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.3482, allocations: 133 kB / 0.5713 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3482, allocations: 8.203 kB / 0.5713 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3483, allocations: 42.44 kB / 0.5714 GB, free: 9.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.3483, allocations: 0 / 0.5714 GB, free: 9.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002974/0.3512, allocations: 1.127 MB / 0.5725 GB, free: 7.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3513, allocations: 81.11 kB / 0.5725 GB, free: 7.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.3516, allocations: 261.9 kB / 0.5728 GB, free: 7.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3516, allocations: 29.7 kB / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3518, allocations: 268.1 kB / 0.5731 GB, free: 7.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3519, allocations: 127 kB / 0.5732 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3521, allocations: 74.09 kB / 0.5733 GB, free: 7.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3522, allocations: 342.8 kB / 0.5736 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.3525, allocations: 112.8 kB / 0.5737 GB, free: 6.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.3529, allocations: 216.3 kB / 0.5739 GB, free: 6.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.3535, allocations: 334.5 kB / 0.5742 GB, free: 6.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3535, allocations: 0 / 0.5742 GB, free: 6.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009001/0.3544, allocations: 422.1 kB / 0.5746 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3544, allocations: 4 kB / 0.5746 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3544, allocations: 4 kB / 0.5746 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.3546, allocations: 40.7 kB / 0.5747 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.3551, allocations: 115.9 kB / 0.5748 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.3563, allocations: 1.338 MB / 0.5761 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.3565, allocations: 28.05 kB / 0.5761 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.3566, allocations: 20 kB / 0.5761 GB, free: 3.941 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.0001905/0.3568, allocations: 169.6 kB / 0.5763 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.3568, allocations: 27.81 kB / 0.5763 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.3569, allocations: 38.11 kB / 0.5764 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3569, allocations: 4 kB / 0.5764 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3569, allocations: 0 / 0.5764 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3569, allocations: 3.984 kB / 0.5764 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3581, allocations: 0.6897 MB / 0.577 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3581, allocations: 0 / 0.577 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.3585, allocations: 87.94 kB / 0.5771 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-05/0.3586, allocations: 44.86 kB / 0.5772 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3586, allocations: 11.98 kB / 0.5772 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3597, allocations: 1.315 MB / 0.5785 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3597, allocations: 0 / 0.5785 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3607, allocations: 0.6118 MB / 0.5791 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3608, allocations: 43.83 kB / 0.5791 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3609, allocations: 11.98 kB / 0.5791 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.3612, allocations: 19.92 kB / 0.5791 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3612, allocations: 31.95 kB / 0.5792 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3612, allocations: 8 kB / 0.5792 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.3614, allocations: 185.2 kB / 0.5793 GB, free: 456 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3614, allocations: 0 / 0.5793 GB, free: 456 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004726/0.3619, allocations: 92 kB / 0.5794 GB, free: 364 kB / 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.001403/0.3633, allocations: 1.158 MB / 0.5806 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.3642, allocations: 388.9 kB / 0.5809 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3642, allocations: 0 / 0.5809 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.3646, allocations: 247.4 kB / 0.5812 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3651, allocations: 40.81 kB / 0.5812 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.3704, allocations: 3.492 MB / 0.5846 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.3708, allocations: 0.8113 MB / 0.5854 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.371, allocations: 38.95 kB / 0.5854 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.3712, allocations: 139.4 kB / 0.5856 GB, free: 9.785 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3712, allocations: 0 / 0.5856 GB, free: 9.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4111, allocations: 6.874 MB / 0.5923 GB, free: 3.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.42, allocations: 0 / 0.5923 GB, free: 3.051 MB / 430.1 MB " [Timeout remaining time 647] (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.594260517973453]