Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001913/0.001913, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002479/0.002479, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 46.94 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 67.89 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3095, allocations: 66.04 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007553/0.3171, allocations: 5.377 MB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.3206, allocations: 1.67 MB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.321, allocations: 20 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.3248, allocations: 1.606 MB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3258, allocations: 313.6 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.327, allocations: 0.5179 MB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.3279, allocations: 0.8085 MB / 0.5707 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3289, allocations: 0.6369 MB / 0.5713 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.3294, allocations: 350.7 kB / 0.5717 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.33, allocations: 466.2 kB / 0.5721 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3301, allocations: 72 kB / 0.5722 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.3305, allocations: 199.9 kB / 0.5724 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3307, allocations: 175.3 kB / 0.5725 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.3311, allocations: 429.9 kB / 0.573 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3325, allocations: 1.179 MB / 0.5741 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3325, allocations: 7.984 kB / 0.5741 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3325, allocations: 0 / 0.5741 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3325, allocations: 0 / 0.5741 GB, free: 6.617 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.003417/0.3359, allocations: 1.293 MB / 0.5754 GB, free: 5.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.336, allocations: 12.03 kB / 0.5754 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.3361, allocations: 152.4 kB / 0.5755 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.3377, allocations: 232.2 kB / 0.5757 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.338, allocations: 203.3 kB / 0.5759 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.3381, allocations: 74.38 kB / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3382, allocations: 111.9 kB / 0.5761 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.3398, allocations: 0.9321 MB / 0.577 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.3398, allocations: 7.938 kB / 0.577 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.3399, allocations: 44 kB / 0.5771 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.34, allocations: 27.94 kB / 0.5771 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3413, allocations: 0.7184 MB / 0.5778 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/0.3465, allocations: 3.688 MB / 0.5814 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.348, allocations: 0.763 MB / 0.5822 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.3485, allocations: 260.4 kB / 0.5824 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.3486, allocations: 36.22 kB / 0.5824 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3486, allocations: 38.89 kB / 0.5825 GB, free: 13.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.3486, allocations: 0 / 0.5825 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002661/0.3513, allocations: 1.027 MB / 0.5835 GB, free: 12.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.3514, allocations: 140.5 kB / 0.5836 GB, free: 12.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.3518, allocations: 312.1 kB / 0.5839 GB, free: 12.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.3518, allocations: 37.7 kB / 0.5839 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.3521, allocations: 403.9 kB / 0.5843 GB, free: 11.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3523, allocations: 242 kB / 0.5846 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.3525, allocations: 158.6 kB / 0.5847 GB, free: 11.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3527, allocations: 350.7 kB / 0.585 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.3531, allocations: 197.9 kB / 0.5852 GB, free: 10.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.3536, allocations: 400.6 kB / 0.5856 GB, free: 10.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.3545, allocations: 0.622 MB / 0.5862 GB, free: 9.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3545, allocations: 4 kB / 0.5862 GB, free: 9.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001581/0.3561, allocations: 0.8734 MB / 0.5871 GB, free: 8.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3561, allocations: 12.44 kB / 0.5871 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3561, allocations: 8 kB / 0.5871 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.3568, allocations: 231.2 kB / 0.5873 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.3573, allocations: 143.7 kB / 0.5875 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.3635, allocations: 6.291 MB / 0.5936 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.3639, allocations: 83.86 kB / 0.5937 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.364, allocations: 36.06 kB / 0.5937 GB, free: 1.383 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.0003234/0.3643, allocations: 225.5 kB / 0.5939 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3644, allocations: 47.66 kB / 0.594 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.3657, allocations: 0.69 MB / 0.5947 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3658, allocations: 8 kB / 0.5947 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.3658, allocations: 12 kB / 0.5947 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3658, allocations: 7.984 kB / 0.5947 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.3684, allocations: 1.522 MB / 0.5962 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3684, allocations: 0 / 0.5962 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.3686, allocations: 71.91 kB / 0.5962 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.3692, allocations: 215.2 kB / 0.5964 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.3692, allocations: 19.98 kB / 0.5965 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/0.3752, allocations: 6.289 MB / 0.6026 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3752, allocations: 4.031 kB / 0.6026 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.3769, allocations: 1.198 MB / 0.6038 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.377, allocations: 47.62 kB / 0.6038 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.3771, allocations: 12 kB / 0.6038 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.3774, allocations: 12 kB / 0.6038 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3775, allocations: 63.77 kB / 0.6039 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.3775, allocations: 16 kB / 0.6039 GB, free: 6.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.3778, allocations: 219 kB / 0.6041 GB, free: 6.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3778, allocations: 0 / 0.6041 GB, free: 6.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001076/0.3789, allocations: 283.4 kB / 0.6044 GB, free: 5.855 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.002144/0.381, allocations: 1.773 MB / 0.6061 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3827, allocations: 1.047 MB / 0.6072 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3827, allocations: 1.125 kB / 0.6072 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.3837, allocations: 0.7599 MB / 0.6079 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.3844, allocations: 48.58 kB / 0.6079 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.3922, allocations: 5.119 MB / 0.6129 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.3928, allocations: 0.9266 MB / 0.6138 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.393, allocations: 64.53 kB / 0.6139 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.3933, allocations: 227.4 kB / 0.6141 GB, free: 11.45 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3933, allocations: 4.109 kB / 0.6141 GB, free: 11.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/0.4466, allocations: 12.54 MB / 0.6264 GB, free: 15.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.83, allocations: 7.938 kB / 0.6264 GB, free: 15.05 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.828797715017572]