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.00131/0.00131, 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.001396/0.001396, allocations: 216.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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8 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.2269/0.2269, allocations: 46.93 MB / 361.7 MB, free: 4.281 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 59.91 kB / 0.4969 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3315, allocations: 66.03 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007683/0.3392, allocations: 5.374 MB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.3427, allocations: 1.67 MB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.3434, allocations: 20 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003811/0.3472, allocations: 1.606 MB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.3482, allocations: 313.6 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3495, allocations: 0.5141 MB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3505, allocations: 0.8046 MB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009978/0.3515, allocations: 0.6448 MB / 0.5721 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.352, allocations: 350.7 kB / 0.5724 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.3526, allocations: 466.2 kB / 0.5729 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3527, allocations: 75.94 kB / 0.573 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.3531, allocations: 187.9 kB / 0.5731 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.3533, allocations: 187.3 kB / 0.5733 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.3537, allocations: 422 kB / 0.5737 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.355, allocations: 1.183 MB / 0.5749 GB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.355, allocations: 0 / 0.5749 GB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3551, allocations: 4 kB / 0.5749 GB, free: 6.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3551, allocations: 0 / 0.5749 GB, free: 6.629 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.003476/0.3585, allocations: 1.293 MB / 0.5761 GB, free: 5.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3586, allocations: 16.03 kB / 0.5762 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.732e-05/0.3586, allocations: 30.17 kB / 0.5762 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.3588, allocations: 152.4 kB / 0.5763 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.3605, allocations: 232.2 kB / 0.5765 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3607, allocations: 206 kB / 0.5767 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.3608, allocations: 78.12 kB / 0.5768 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.361, allocations: 96 kB / 0.5769 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.3625, allocations: 0.9399 MB / 0.5778 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.3626, allocations: 3.953 kB / 0.5778 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.3626, allocations: 44 kB / 0.5779 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3627, allocations: 24 kB / 0.5779 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.364, allocations: 0.7284 MB / 0.5786 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/0.3695, allocations: 3.688 MB / 0.5822 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3711, allocations: 0.773 MB / 0.583 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.3715, allocations: 264.4 kB / 0.5832 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.3716, allocations: 24.3 kB / 0.5832 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.3717, allocations: 46.88 kB / 0.5833 GB, free: 13.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.256e-06/0.3717, allocations: 0 / 0.5833 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002863/0.3745, allocations: 1.027 MB / 0.5843 GB, free: 12.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.3746, allocations: 136.5 kB / 0.5844 GB, free: 12.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.3751, allocations: 316.1 kB / 0.5847 GB, free: 12.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.3751, allocations: 41.64 kB / 0.5848 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.3754, allocations: 407.8 kB / 0.5851 GB, free: 11.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.3757, allocations: 238 kB / 0.5854 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.3759, allocations: 150.6 kB / 0.5855 GB, free: 11.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3761, allocations: 354.7 kB / 0.5859 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.3764, allocations: 201.9 kB / 0.586 GB, free: 10.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.377, allocations: 392.7 kB / 0.5864 GB, free: 10.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.3779, allocations: 0.6259 MB / 0.587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.378, allocations: 0 / 0.587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001756/0.3797, allocations: 0.8813 MB / 0.5879 GB, free: 8.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3797, allocations: 8 kB / 0.5879 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.3798, allocations: 7.938 kB / 0.5879 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/0.3806, allocations: 227.6 kB / 0.5881 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.3811, allocations: 139.8 kB / 0.5883 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/0.3879, allocations: 6.296 MB / 0.5944 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.3886, allocations: 83.34 kB / 0.5945 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.3886, allocations: 39.92 kB / 0.5945 GB, free: 1.352 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.000441/0.3891, allocations: 230 kB / 0.5947 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.3893, allocations: 43.72 kB / 0.5948 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.3906, allocations: 0.6822 MB / 0.5955 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3906, allocations: 8 kB / 0.5955 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.3906, allocations: 19.91 kB / 0.5955 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3906, allocations: 3.938 kB / 0.5955 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.3932, allocations: 1.522 MB / 0.597 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3932, allocations: 0 / 0.597 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3935, allocations: 71.91 kB / 0.597 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005682/0.3941, allocations: 211.2 kB / 0.5972 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.3941, allocations: 12 kB / 0.5972 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00612/0.4002, allocations: 6.304 MB / 0.6034 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4002, allocations: 4.031 kB / 0.6034 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.402, allocations: 1.191 MB / 0.6046 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4021, allocations: 43.64 kB / 0.6046 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.4021, allocations: 12 kB / 0.6046 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4025, allocations: 20.05 kB / 0.6046 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4026, allocations: 63.77 kB / 0.6047 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.4026, allocations: 16 kB / 0.6047 GB, free: 6.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.4029, allocations: 215.1 kB / 0.6049 GB, free: 6.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4029, allocations: 0 / 0.6049 GB, free: 6.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001015/0.4039, allocations: 283.3 kB / 0.6052 GB, free: 5.836 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.002153/0.406, allocations: 1.774 MB / 0.6069 GB, free: 4.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.4078, allocations: 1.051 MB / 0.608 GB, free: 2.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4078, allocations: 3.938 kB / 0.608 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4088, allocations: 0.7565 MB / 0.6087 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.4094, allocations: 44.66 kB / 0.6087 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.4171, allocations: 5.127 MB / 0.6137 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.4177, allocations: 0.9111 MB / 0.6146 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.418, allocations: 76.52 kB / 0.6147 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.4183, allocations: 231.4 kB / 0.6149 GB, free: 11.41 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4183, allocations: 3.938 kB / 0.6149 GB, free: 11.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.4666, allocations: 12.57 MB / 0.6272 GB, free: 15.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.98, allocations: 7.875 kB / 0.6272 GB, free: 15 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.979556885024067]