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.001679/0.001679, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001951/0.001951, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2358/0.2358, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.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 0.0026/0.0026, allocations: 79.88 kB / 0.4912 GB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1394, allocations: 65.99 MB / 0.5557 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003389/0.1428, allocations: 1.737 MB / 0.5574 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.143, allocations: 87.67 kB / 0.5574 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.1431, allocations: 0 / 0.5574 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.1431, allocations: 19.8 kB / 0.5575 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.1432, allocations: 19.78 kB / 0.5575 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.1433, allocations: 27.97 kB / 0.5575 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1435, allocations: 107.6 kB / 0.5576 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.1437, allocations: 43.94 kB / 0.5577 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.1438, allocations: 35.92 kB / 0.5577 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.1439, allocations: 55.77 kB / 0.5577 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1439, allocations: 16 kB / 0.5578 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.1439, allocations: 12 kB / 0.5578 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.144, allocations: 19.92 kB / 0.5578 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.144, allocations: 51.73 kB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1442, allocations: 115.6 kB / 0.558 GB, free: 3.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1442, allocations: 4 kB / 0.558 GB, free: 3.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1442, allocations: 0 / 0.558 GB, free: 3.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1443, allocations: 0 / 0.558 GB, free: 3.906 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007377/0.145, allocations: 426.9 kB / 0.5584 GB, free: 3.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.145, allocations: 8.031 kB / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.1451, allocations: 42.73 kB / 0.5584 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1451, allocations: 12.89 kB / 0.5584 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1453, allocations: 176.2 kB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1453, allocations: 8.375 kB / 0.5586 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1453, allocations: 8.375 kB / 0.5586 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.1457, allocations: 122.2 kB / 0.5587 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1457, allocations: 3.938 kB / 0.5587 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1457, allocations: 7.984 kB / 0.5587 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1457, allocations: 0 / 0.5587 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.1461, allocations: 115.7 kB / 0.5588 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.1469, allocations: 475.4 kB / 0.5593 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1472, allocations: 74.53 kB / 0.5594 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1474, allocations: 60.94 kB / 0.5594 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1474, allocations: 4 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1475, allocations: 42.42 kB / 0.5595 GB, free: 2.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1475, allocations: 0 / 0.5595 GB, free: 2.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008829/0.1483, allocations: 271.4 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1484, allocations: 51.41 kB / 0.5598 GB, free: 1.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1485, allocations: 121.8 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1485, allocations: 25.7 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.1486, allocations: 108.2 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1486, allocations: 27.78 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1487, allocations: 21.72 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1489, allocations: 310.8 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.149, allocations: 44.14 kB / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1492, allocations: 58.53 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1495, allocations: 110.4 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1495, allocations: 0 / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004171/0.1499, allocations: 146.3 kB / 0.5607 GB, free: 0.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.15, allocations: 4 kB / 0.5607 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.15, allocations: 4 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.1501, allocations: 24.78 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1503, allocations: 15.98 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1517, allocations: 1.411 MB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.1518, allocations: 15.98 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1518, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 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 0.0001156/0.1519, allocations: 117.9 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1519, allocations: 15.88 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.1519, allocations: 8.375 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1519, allocations: 4 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1519, allocations: 0 / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1519, allocations: 0 / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.1527, allocations: 432 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1527, allocations: 4.125 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.1528, allocations: 11.98 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.328e-05/0.1529, allocations: 24.84 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1529, allocations: 0 / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.154, allocations: 1.402 MB / 0.5641 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.154, allocations: 4.031 kB / 0.5641 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.1545, allocations: 249.1 kB / 0.5644 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.1546, allocations: 81.06 kB / 0.5644 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1546, allocations: 4 kB / 0.5644 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1547, allocations: 11.98 kB / 0.5644 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.1548, allocations: 11.98 kB / 0.5645 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1548, allocations: 4 kB / 0.5645 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.1549, allocations: 95.2 kB / 0.5645 GB, free: 12.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1549, allocations: 3.938 kB / 0.5646 GB, free: 12.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1552, allocations: 31.89 kB / 0.5646 GB, free: 12.42 MB / 430.1 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.0008625/0.156, allocations: 0.7609 MB / 0.5653 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.1566, allocations: 210.5 kB / 0.5655 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1566, allocations: 0 / 0.5655 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.1569, allocations: 154.9 kB / 0.5657 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1572, allocations: 12.25 kB / 0.5657 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1596, allocations: 1.604 MB / 0.5673 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.16, allocations: 0.7002 MB / 0.5679 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.16, allocations: 7.75 kB / 0.5679 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1601, allocations: 19.44 kB / 0.568 GB, free: 8.773 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1601, allocations: 0 / 0.568 GB, free: 8.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.1888, allocations: 2.399 MB / 0.5703 GB, free: 6.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.992/10.18, allocations: 3.266 kB / 0.5703 GB, free: 6.48 MB / 430.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.3009616532363]