Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.0007987/0.0007987, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007722/0.0007722, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8664/0.8664, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 32.78 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.468e-05, allocations: 6.281 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002598/0.002613, allocations: 2.368 MB / 441.9 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003645, allocations: 1.032 MB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.003713, allocations: 4 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.004402, allocations: 497.6 kB / 443.5 MB, free: 348 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.004569, allocations: 111.1 kB / 443.6 MB, free: 236 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1601/0.1647, allocations: 454.2 kB / 444 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.165, allocations: 232.3 kB / 444.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.1653, allocations: 212.7 kB / 444.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1654, allocations: 152.1 kB / 444.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.1655, allocations: 88.53 kB / 444.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1655, allocations: 28.84 kB / 444.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.1657, allocations: 147.3 kB / 444.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.1658, allocations: 49.73 kB / 444.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1658, allocations: 71 kB / 445 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1661, allocations: 425.8 kB / 445.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1661, allocations: 0 / 445.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1661, allocations: 0 / 445.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1661, allocations: 0.7188 kB / 445.4 MB, free: 43.21 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006698/0.1668, allocations: 0.5491 MB / 445.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1668, allocations: 12.73 kB / 445.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1668, allocations: 56.8 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.167, allocations: 51.95 kB / 446.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.222e-05/0.1671, allocations: 136 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1671, allocations: 16.84 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1671, allocations: 23.94 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1674, allocations: 291.1 kB / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1674, allocations: 4.125 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1674, allocations: 10.66 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1674, allocations: 9.875 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.1677, allocations: 230.9 kB / 446.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.1685, allocations: 0.8695 MB / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1687, allocations: 210 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1689, allocations: 123.3 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.169, allocations: 19.38 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.058e-05/0.169, allocations: 38.34 kB / 448 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.169, allocations: 0 / 448 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005684/0.1696, allocations: 347.7 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.1696, allocations: 83.33 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.1696, allocations: 147.8 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.1696, allocations: 25.7 kB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.1697, allocations: 148.1 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1697, allocations: 73.84 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.1697, allocations: 39.48 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.499e-05/0.1698, allocations: 323.2 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.1699, allocations: 77.59 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.17, allocations: 121.2 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1702, allocations: 205 kB / 449.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1702, allocations: 0 / 449.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002943/0.1705, allocations: 286.7 kB / 449.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.1705, allocations: 5.625 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1705, allocations: 2.719 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.1706, allocations: 45.88 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1707, allocations: 45.27 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007359/0.1714, allocations: 2.627 MB / 452.6 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.1715, allocations: 37.62 kB / 452.6 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1715, allocations: 9.531 kB / 452.6 MB, free: 38.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.1716, allocations: 138.1 kB / 452.8 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1716, allocations: 9.641 kB / 452.8 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.1719, allocations: 266.8 kB / 453 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1719, allocations: 2.875 kB / 453 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.1719, allocations: 2.938 kB / 453 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1719, allocations: 0 / 453 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.1724, allocations: 0.5998 MB / 453.6 MB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1724, allocations: 2.688 kB / 453.6 MB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.1725, allocations: 39.06 kB / 453.7 MB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-05/0.1726, allocations: 43.89 kB / 453.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1726, allocations: 10.84 kB / 453.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006076/0.1732, allocations: 2.63 MB / 456.4 MB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1732, allocations: 3.984 kB / 456.4 MB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.1736, allocations: 0.5203 MB / 456.9 MB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.1736, allocations: 17.56 kB / 456.9 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1736, allocations: 6.906 kB / 456.9 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.1737, allocations: 18.75 kB / 456.9 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1737, allocations: 20.11 kB / 456.9 MB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.1737, allocations: 5.438 kB / 456.9 MB, free: 34.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.1738, allocations: 108 kB / 457 MB, free: 34.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1738, allocations: 2.906 kB / 457.1 MB, free: 34.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000249/0.174, allocations: 75.16 kB / 457.1 MB, free: 34.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0005691/0.1746, allocations: 1.077 MB / 458.2 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.1749, allocations: 411.8 kB / 458.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.175, allocations: 4 kB / 458.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1751, allocations: 326.1 kB / 458.9 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1754, allocations: 19.05 kB / 458.9 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1769, allocations: 2.318 MB / 461.3 MB, free: 31.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.88e-05/0.177, allocations: 123.8 kB / 461.4 MB, free: 31.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.177, allocations: 22.52 kB / 461.4 MB, free: 31.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.1771, allocations: 61.56 kB / 461.5 MB, free: 31.02 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.1771, allocations: 0 / 461.5 MB, free: 31.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1966, allocations: 5.201 MB / 466.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/7.138, allocations: 11.19 kB / 466.7 MB, free: 29.78 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 9.031017762608826]