Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.001695/0.001695, allocations: 124.3 kB / 18.5 MB, free: 4.656 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.002241/0.002241, allocations: 214.3 kB / 21.46 MB, free: 1.707 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.55/1.55, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.232/0.232, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 79.88 kB / 0.4916 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 66.04 MB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004398/0.1317, allocations: 2.503 MB / 0.5586 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1337, allocations: 1.113 MB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1338, allocations: 4 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1352, allocations: 0.4999 MB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1355, allocations: 111.2 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.1365, allocations: 490.1 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.1369, allocations: 227 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.1373, allocations: 206.3 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1375, allocations: 99.64 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1377, allocations: 127.5 kB / 0.5614 GB, free: 228 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1377, allocations: 20 kB / 0.5614 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.1381, allocations: 159.9 kB / 0.5615 GB, free: 48 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.1381, allocations: 47.78 kB / 0.5616 GB, free: 0 / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1383, allocations: 119.4 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.1389, allocations: 402.5 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1389, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1389, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1389, allocations: 8 kB / 0.5621 GB, free: 15.48 MB / 430.1 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.001391/0.1403, allocations: 0.612 MB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1403, allocations: 12.03 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.296e-05/0.1403, allocations: 8.688 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.1404, allocations: 66.72 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.1407, allocations: 52.77 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1409, allocations: 196 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.141, allocations: 20.94 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.141, allocations: 24.38 kB / 0.563 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.1417, allocations: 291.4 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.1417, allocations: 3.984 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.1417, allocations: 8 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1417, allocations: 12 kB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.1424, allocations: 225.5 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.144, allocations: 1.009 MB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.1446, allocations: 351.3 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.145, allocations: 129.6 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.1452, allocations: 170.1 kB / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.1452, allocations: 38.55 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.1452, allocations: 4 kB / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001309/0.1465, allocations: 499.3 kB / 0.5657 GB, free: 11.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1466, allocations: 77.23 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1467, allocations: 153.7 kB / 0.5659 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1468, allocations: 29.7 kB / 0.5659 GB, free: 11.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.1468, allocations: 140.4 kB / 0.5661 GB, free: 11.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.1469, allocations: 75.42 kB / 0.5661 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.147, allocations: 45.64 kB / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1471, allocations: 318.8 kB / 0.5665 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.1474, allocations: 79.94 kB / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1476, allocations: 118 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.1481, allocations: 199.3 kB / 0.5669 GB, free: 10.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1481, allocations: 3.938 kB / 0.5669 GB, free: 10.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007047/0.1488, allocations: 276.7 kB / 0.5671 GB, free: 9.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1488, allocations: 13.81 kB / 0.5671 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1488, allocations: 0 / 0.5671 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.1491, allocations: 53.88 kB / 0.5672 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1493, allocations: 43.97 kB / 0.5672 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.1516, allocations: 2.836 MB / 0.57 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.1518, allocations: 31.77 kB / 0.57 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1518, allocations: 12 kB / 0.57 GB, free: 6.59 MB / 430.1 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 0.0001485/0.152, allocations: 137.8 kB / 0.5702 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.152, allocations: 7.953 kB / 0.5702 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/0.1528, allocations: 276.3 kB / 0.5705 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1528, allocations: 4 kB / 0.5705 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1528, allocations: 0 / 0.5705 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1528, allocations: 0 / 0.5705 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.154, allocations: 0.65 MB / 0.5711 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.154, allocations: 0 / 0.5711 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.1542, allocations: 47.97 kB / 0.5711 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.1543, allocations: 45.69 kB / 0.5712 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1544, allocations: 4 kB / 0.5712 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.1568, allocations: 2.844 MB / 0.574 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1568, allocations: 4.031 kB / 0.574 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1578, allocations: 0.5229 MB / 0.5745 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.1579, allocations: 85.06 kB / 0.5746 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1579, allocations: 0 / 0.5746 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1582, allocations: 23.91 kB / 0.5746 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.1582, allocations: 27.98 kB / 0.5746 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1583, allocations: 4 kB / 0.5746 GB, free: 1.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1584, allocations: 113.1 kB / 0.5747 GB, free: 1.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1584, allocations: 0 / 0.5747 GB, free: 1.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.1589, allocations: 75.78 kB / 0.5748 GB, free: 1.312 MB / 430.1 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.00149/0.1603, allocations: 1.078 MB / 0.5758 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008522/0.1612, allocations: 413.4 kB / 0.5762 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1612, allocations: 0 / 0.5762 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.1617, allocations: 325.2 kB / 0.5765 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1621, allocations: 8.312 kB / 0.5766 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.1659, allocations: 2.369 MB / 0.5789 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1663, allocations: 0.74 MB / 0.5796 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.1664, allocations: 21.41 kB / 0.5796 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.1665, allocations: 51.42 kB / 0.5797 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1665, allocations: 0 / 0.5797 GB, free: 12.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.1961, allocations: 4.497 MB / 0.5841 GB, free: 7.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.39, allocations: 22.95 kB / 0.5841 GB, free: 7.734 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.899669051985256]