Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.0009177/0.0009177, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001172/0.001172, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9171/0.9171, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.2422/0.2422, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 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.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 442.1 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.218e-05, allocations: 2.281 kB / 442.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.1683/0.1683, allocations: 1.695 MB / 443.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.1685, allocations: 86.42 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.1685, allocations: 0 / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.1686, allocations: 13.95 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.1686, allocations: 32.41 kB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.52e-05/0.1687, allocations: 26.53 kB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.691e-05/0.1688, allocations: 106.3 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1689, allocations: 37.97 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.169, allocations: 62.61 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.1691, allocations: 44.92 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1691, allocations: 10.88 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.1691, allocations: 11.97 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1691, allocations: 23.7 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.1692, allocations: 32.83 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1693, allocations: 121.8 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1693, allocations: 0.5 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1693, allocations: 0.5625 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1693, allocations: 0 / 444.4 MB, free: 43.2 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003793/0.1696, allocations: 349.8 kB / 444.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1697, allocations: 7.719 kB / 444.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.1697, allocations: 40.56 kB / 444.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.1697, allocations: 10.83 kB / 444.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.692e-05/0.1698, allocations: 129.6 kB / 444.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1698, allocations: 3.188 kB / 445 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1698, allocations: 10.25 kB / 445 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.17, allocations: 128.9 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.17, allocations: 1.406 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.17, allocations: 4.25 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.17, allocations: 6.594 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1702, allocations: 103.5 kB / 445.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.1706, allocations: 420.8 kB / 445.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1707, allocations: 80.09 kB / 445.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1709, allocations: 59.44 kB / 445.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1709, allocations: 2.5 kB / 445.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.126e-05/0.1709, allocations: 31.22 kB / 445.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1709, allocations: 2.625 kB / 445.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004367/0.1713, allocations: 194 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.1713, allocations: 51.41 kB / 446 MB, free: 42.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.686e-05/0.1714, allocations: 125.4 kB / 446.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.1714, allocations: 35.58 kB / 446.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.1714, allocations: 109.2 kB / 446.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.355e-06/0.1714, allocations: 17.66 kB / 446.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.1715, allocations: 20.75 kB / 446.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.39e-05/0.1715, allocations: 319.9 kB / 446.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.1716, allocations: 39.58 kB / 446.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.1716, allocations: 60.34 kB / 446.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1718, allocations: 102.4 kB / 446.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1718, allocations: 0 / 446.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001984/0.172, allocations: 153.1 kB / 447 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.172, allocations: 5.438 kB / 447 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.172, allocations: 0 / 447 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.1721, allocations: 26.03 kB / 447 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.1722, allocations: 18.23 kB / 447 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000442/0.1726, allocations: 1.298 MB / 448.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.1726, allocations: 19.47 kB / 448.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1726, allocations: 0 / 448.3 MB, free: 40.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.1727, allocations: 116.9 kB / 448.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.1727, allocations: 9.578 kB / 448.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-06/0.1727, allocations: 18.52 kB / 448.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-07/0.1727, allocations: 0 / 448.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1727, allocations: 0 / 448.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1727, allocations: 0.8438 kB / 448.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.173, allocations: 386.7 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.173, allocations: 2.75 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.1731, allocations: 18.98 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.995e-05/0.1731, allocations: 23.31 kB / 448.9 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1731, allocations: 3.031 kB / 448.9 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003171/0.1734, allocations: 1.303 MB / 450.2 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1734, allocations: 0 / 450.2 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1736, allocations: 237 kB / 450.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-06/0.1736, allocations: 8.234 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-06/0.1736, allocations: 7.031 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.1737, allocations: 12.94 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.1737, allocations: 17.45 kB / 450.5 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1737, allocations: 7.062 kB / 450.5 MB, free: 38.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.1737, allocations: 92.39 kB / 450.6 MB, free: 38.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1737, allocations: 0 / 450.6 MB, free: 38.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.1739, allocations: 20.44 kB / 450.6 MB, free: 38.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000277/0.1742, allocations: 0.7692 MB / 451.4 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.1744, allocations: 198.7 kB / 451.6 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.1744, allocations: 3.938 kB / 451.6 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.1745, allocations: 155.3 kB / 451.7 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.1748, allocations: 16.16 kB / 451.7 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.1758, allocations: 1.6 MB / 453.3 MB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.1758, allocations: 87.16 kB / 453.4 MB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.671e-05/0.1758, allocations: 4.281 kB / 453.4 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1759, allocations: 26.78 kB / 453.5 MB, free: 35.87 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1759, allocations: 0 / 453.5 MB, free: 35.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.1915, allocations: 3.096 MB / 456.6 MB, free: 34.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/7.003, allocations: 14.58 kB / 456.6 MB, free: 34.84 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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: 8.992608440108597]