Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001771/0.001771, 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.002135/0.002135, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.439/1.439, allocations: 230.5 MB / 258.2 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.236/0.236, allocations: 46.91 MB / 361.6 MB, free: 4.266 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3189, allocations: 66.1 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007966/0.3269, allocations: 5.355 MB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.3304, allocations: 1.678 MB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.3308, allocations: 16 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.3346, allocations: 1.602 MB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3359, allocations: 317.6 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3373, allocations: 0.5243 MB / 0.5708 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3384, allocations: 0.8046 MB / 0.5716 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3394, allocations: 0.6331 MB / 0.5722 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.3399, allocations: 362.7 kB / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.3406, allocations: 462.2 kB / 0.573 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3407, allocations: 76 kB / 0.573 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.3411, allocations: 199.9 kB / 0.5732 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3413, allocations: 175.4 kB / 0.5734 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.3417, allocations: 421.9 kB / 0.5738 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.3432, allocations: 1.179 MB / 0.5749 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3432, allocations: 4 kB / 0.575 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3432, allocations: 0 / 0.575 GB, free: 6.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3432, allocations: 0 / 0.575 GB, free: 6.453 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003505/0.3467, allocations: 1.3 MB / 0.5762 GB, free: 5.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3467, allocations: 12.03 kB / 0.5762 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.918e-05/0.3468, allocations: 26.19 kB / 0.5763 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.3469, allocations: 152.4 kB / 0.5764 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.3486, allocations: 236.2 kB / 0.5766 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3489, allocations: 205.9 kB / 0.5768 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.3489, allocations: 78.12 kB / 0.5769 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.3491, allocations: 103.9 kB / 0.577 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3508, allocations: 0.9321 MB / 0.5779 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.3508, allocations: 3.953 kB / 0.5779 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.3509, allocations: 40 kB / 0.578 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.3509, allocations: 28 kB / 0.578 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3523, allocations: 0.7262 MB / 0.5787 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.3578, allocations: 3.676 MB / 0.5823 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.3595, allocations: 0.7837 MB / 0.583 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3599, allocations: 260.9 kB / 0.5833 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/0.36, allocations: 28.3 kB / 0.5833 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3601, allocations: 42.89 kB / 0.5834 GB, free: 13.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.544e-06/0.3601, allocations: 3.938 kB / 0.5834 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002782/0.3628, allocations: 1.023 MB / 0.5844 GB, free: 12.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.3629, allocations: 136.5 kB / 0.5845 GB, free: 12.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.3633, allocations: 316.1 kB / 0.5848 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3634, allocations: 37.7 kB / 0.5848 GB, free: 11.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.3637, allocations: 411.8 kB / 0.5852 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.3639, allocations: 238 kB / 0.5854 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.3641, allocations: 150.6 kB / 0.5856 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3643, allocations: 350.7 kB / 0.5859 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.3647, allocations: 201.9 kB / 0.5861 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.3652, allocations: 405.9 kB / 0.5865 GB, free: 10.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.3662, allocations: 0.6221 MB / 0.5871 GB, free: 9.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3662, allocations: 0 / 0.5871 GB, free: 9.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001706/0.3679, allocations: 0.8776 MB / 0.588 GB, free: 8.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.3679, allocations: 11.98 kB / 0.588 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.368, allocations: 4 kB / 0.588 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007013/0.3687, allocations: 223.4 kB / 0.5882 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.3692, allocations: 143.7 kB / 0.5883 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/0.3755, allocations: 6.297 MB / 0.5945 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.3761, allocations: 83.39 kB / 0.5946 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.3762, allocations: 39.94 kB / 0.5946 GB, free: 1.176 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003448/0.3765, allocations: 217.6 kB / 0.5948 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3767, allocations: 51.7 kB / 0.5949 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.378, allocations: 0.6874 MB / 0.5955 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.378, allocations: 8 kB / 0.5955 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.378, allocations: 4 kB / 0.5955 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.378, allocations: 11.92 kB / 0.5956 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.3807, allocations: 1.522 MB / 0.597 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3808, allocations: 4 kB / 0.597 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.381, allocations: 71.89 kB / 0.5971 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.3816, allocations: 207.2 kB / 0.5973 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.3817, allocations: 15.98 kB / 0.5973 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/0.388, allocations: 6.301 MB / 0.6035 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.388, allocations: 7.969 kB / 0.6035 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.3898, allocations: 1.187 MB / 0.6046 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3899, allocations: 51.66 kB / 0.6047 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.39, allocations: 12 kB / 0.6047 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.3904, allocations: 15.94 kB / 0.6047 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3905, allocations: 67.7 kB / 0.6048 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.3905, allocations: 19.98 kB / 0.6048 GB, free: 6.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3908, allocations: 215.1 kB / 0.605 GB, free: 5.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3908, allocations: 0 / 0.605 GB, free: 5.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001041/0.3918, allocations: 283.3 kB / 0.6053 GB, free: 5.652 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/0.3941, allocations: 1.765 MB / 0.607 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.3959, allocations: 1.05 MB / 0.608 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3959, allocations: 64 / 0.608 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3969, allocations: 0.7559 MB / 0.6088 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.3976, allocations: 44.58 kB / 0.6088 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.4058, allocations: 5.144 MB / 0.6138 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.4065, allocations: 0.915 MB / 0.6147 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.4068, allocations: 60.55 kB / 0.6148 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.4071, allocations: 239.3 kB / 0.615 GB, free: 11.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4071, allocations: 4 kB / 0.615 GB, free: 11.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/0.4577, allocations: 12.56 MB / 0.6273 GB, free: 14.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.99, allocations: 8 kB / 0.6273 GB, free: 14.8 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.067327975004446]