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.001302/0.001302, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001529/0.001529, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.498/1.498, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.2381/0.2381, allocations: 46.96 MB / 361.6 MB, free: 3.938 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.002389/0.002389, allocations: 75.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.31, allocations: 66.08 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007064/0.317, allocations: 4.751 MB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.3205, allocations: 1.565 MB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/0.3213, allocations: 20 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.3256, allocations: 1.473 MB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.3272, allocations: 317.6 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.3291, allocations: 0.4976 MB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.3308, allocations: 0.7968 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.3325, allocations: 0.6369 MB / 0.5713 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.3332, allocations: 358.7 kB / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007963/0.334, allocations: 466.2 kB / 0.572 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.3343, allocations: 80 kB / 0.5721 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007817/0.335, allocations: 191.9 kB / 0.5723 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.3353, allocations: 175.3 kB / 0.5725 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.3359, allocations: 338.5 kB / 0.5728 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.3379, allocations: 1.187 MB / 0.5739 GB, free: 7.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3379, allocations: 4 kB / 0.5739 GB, free: 7.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3379, allocations: 0 / 0.5739 GB, free: 7.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.245e-05/0.338, allocations: 0 / 0.5739 GB, free: 7.164 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.004017/0.342, allocations: 1.297 MB / 0.5752 GB, free: 5.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.342, allocations: 12.03 kB / 0.5752 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.826e-05/0.3421, allocations: 30.19 kB / 0.5753 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.3423, allocations: 152.4 kB / 0.5754 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.3441, allocations: 232.2 kB / 0.5756 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3445, allocations: 205.4 kB / 0.5758 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.3446, allocations: 82.12 kB / 0.5759 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.3448, allocations: 99.98 kB / 0.576 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.3468, allocations: 0.9321 MB / 0.5769 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/0.3469, allocations: 11.94 kB / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.347, allocations: 40 kB / 0.577 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.347, allocations: 24 kB / 0.577 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.3485, allocations: 0.7273 MB / 0.5777 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.3541, allocations: 2.848 MB / 0.5805 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3559, allocations: 0.7598 MB / 0.5812 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.3563, allocations: 263.2 kB / 0.5815 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3564, allocations: 32.3 kB / 0.5815 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3565, allocations: 42.89 kB / 0.5815 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.3565, allocations: 0 / 0.5815 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002795/0.3593, allocations: 1.021 MB / 0.5825 GB, free: 14.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.3594, allocations: 140.5 kB / 0.5827 GB, free: 13.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.3598, allocations: 316.1 kB / 0.583 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.3599, allocations: 37.7 kB / 0.583 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.3602, allocations: 407.8 kB / 0.5834 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3604, allocations: 238 kB / 0.5836 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.3607, allocations: 150.6 kB / 0.5838 GB, free: 12.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3609, allocations: 354.7 kB / 0.5841 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.3613, allocations: 201.9 kB / 0.5843 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.3618, allocations: 404.6 kB / 0.5847 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.3628, allocations: 0.6219 MB / 0.5853 GB, free: 11.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3628, allocations: 4 kB / 0.5853 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001722/0.3645, allocations: 0.8739 MB / 0.5861 GB, free: 10.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.3646, allocations: 11.98 kB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3646, allocations: 8.031 kB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.3653, allocations: 223.2 kB / 0.5864 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.3658, allocations: 147.7 kB / 0.5865 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006713/0.3726, allocations: 6.25 MB / 0.5926 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.3731, allocations: 87.39 kB / 0.5927 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.3732, allocations: 31.94 kB / 0.5927 GB, free: 2.934 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.000414/0.3736, allocations: 221.7 kB / 0.5929 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.3738, allocations: 47.7 kB / 0.593 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.3758, allocations: 0.6882 MB / 0.5937 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.3758, allocations: 8 kB / 0.5937 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3758, allocations: 4 kB / 0.5937 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3758, allocations: 7.922 kB / 0.5937 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.3787, allocations: 1.456 MB / 0.5951 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3787, allocations: 7.984 kB / 0.5951 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.379, allocations: 63.91 kB / 0.5952 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.3797, allocations: 215.2 kB / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.3797, allocations: 19.98 kB / 0.5954 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006919/0.3866, allocations: 6.242 MB / 0.6015 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3866, allocations: 4.031 kB / 0.6015 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.3886, allocations: 1.191 MB / 0.6027 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3887, allocations: 51.66 kB / 0.6027 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.3888, allocations: 12.38 kB / 0.6027 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.3892, allocations: 12 kB / 0.6027 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.3893, allocations: 71.56 kB / 0.6028 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.3893, allocations: 19.98 kB / 0.6028 GB, free: 8.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.3896, allocations: 215 kB / 0.603 GB, free: 7.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3896, allocations: 0 / 0.603 GB, free: 7.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3907, allocations: 279.3 kB / 0.6033 GB, free: 7.535 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.002303/0.393, allocations: 1.769 MB / 0.605 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.3948, allocations: 1.056 MB / 0.606 GB, free: 4.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3948, allocations: 1.125 kB / 0.606 GB, free: 4.613 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.3958, allocations: 0.7562 MB / 0.6068 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.3966, allocations: 44.64 kB / 0.6068 GB, free: 3.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/0.4048, allocations: 5.132 MB / 0.6118 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.4053, allocations: 310.5 kB / 0.6121 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.4056, allocations: 68.53 kB / 0.6122 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.4059, allocations: 239.3 kB / 0.6124 GB, free: 13.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4059, allocations: 0 / 0.6124 GB, free: 13.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05073/0.4566, allocations: 12.72 MB / 0.6248 GB, free: 1.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.04, allocations: 8.172 kB / 0.6249 GB, free: 1.168 MB / 462.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.07622243394144]