Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001646/0.001646, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001522/0.001522, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.533/1.533, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 63.91 kB / 0.4909 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.136, allocations: 65.99 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004957/0.1409, allocations: 2.503 MB / 0.5578 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1433, allocations: 1.102 MB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.1435, allocations: 4 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.1452, allocations: 0.5134 MB / 0.5594 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.1457, allocations: 107.2 kB / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1468, allocations: 482.1 kB / 0.5599 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.1473, allocations: 227 kB / 0.5602 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.1478, allocations: 202.3 kB / 0.5604 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.1481, allocations: 103.6 kB / 0.5605 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.1484, allocations: 127.5 kB / 0.5606 GB, free: 488 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.1485, allocations: 20 kB / 0.5606 GB, free: 468 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.149, allocations: 159.9 kB / 0.5607 GB, free: 308 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.149, allocations: 47.78 kB / 0.5608 GB, free: 260 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1491, allocations: 115.4 kB / 0.5609 GB, free: 144 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.1499, allocations: 402.5 kB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1499, allocations: 0 / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1499, allocations: 4 kB / 0.5613 GB, free: 15.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1499, allocations: 4 kB / 0.5613 GB, free: 15.74 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.001527/0.1514, allocations: 0.6158 MB / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1515, allocations: 12.03 kB / 0.5619 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.1515, allocations: 58.73 kB / 0.562 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.1519, allocations: 56.7 kB / 0.562 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1521, allocations: 196 kB / 0.5622 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1521, allocations: 24.94 kB / 0.5622 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.1521, allocations: 24.38 kB / 0.5623 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.1528, allocations: 291.5 kB / 0.5625 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1528, allocations: 7.875 kB / 0.5625 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1528, allocations: 12 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1528, allocations: 8 kB / 0.5626 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.1535, allocations: 229.6 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.1552, allocations: 1.002 MB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.1559, allocations: 360.4 kB / 0.5641 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.1563, allocations: 129.7 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.1565, allocations: 166.2 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1566, allocations: 38.56 kB / 0.5644 GB, free: 12.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 2.364e-06/0.1566, allocations: 0 / 0.5644 GB, free: 12.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001401/0.158, allocations: 0.4935 MB / 0.5649 GB, free: 11.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.158, allocations: 81.11 kB / 0.565 GB, free: 11.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1582, allocations: 144.1 kB / 0.5651 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1583, allocations: 29.7 kB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1584, allocations: 144.4 kB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.1584, allocations: 79.3 kB / 0.5654 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1585, allocations: 33.72 kB / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.1587, allocations: 322.9 kB / 0.5657 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.159, allocations: 75.88 kB / 0.5658 GB, free: 10.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.1593, allocations: 122 kB / 0.5659 GB, free: 10.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.1598, allocations: 207.9 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1598, allocations: 0 / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007188/0.1605, allocations: 278.9 kB / 0.5663 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1605, allocations: 4 kB / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1605, allocations: 4 kB / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.1607, allocations: 49.88 kB / 0.5664 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.161, allocations: 43.91 kB / 0.5664 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.1635, allocations: 2.841 MB / 0.5692 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1637, allocations: 31.86 kB / 0.5692 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1637, allocations: 11.92 kB / 0.5693 GB, free: 6.852 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.0001625/0.1639, allocations: 140 kB / 0.5694 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.164, allocations: 11.95 kB / 0.5694 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.1647, allocations: 274.4 kB / 0.5697 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1647, allocations: 0 / 0.5697 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1647, allocations: 4 kB / 0.5697 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1647, allocations: 0 / 0.5697 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.166, allocations: 0.6486 MB / 0.5703 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.166, allocations: 4 kB / 0.5703 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.1662, allocations: 39.91 kB / 0.5703 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.1663, allocations: 53.69 kB / 0.5704 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1663, allocations: 4 kB / 0.5704 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.1687, allocations: 2.844 MB / 0.5732 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1688, allocations: 4 kB / 0.5732 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1698, allocations: 0.5152 MB / 0.5737 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1699, allocations: 93.08 kB / 0.5738 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1699, allocations: 4 kB / 0.5738 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1701, allocations: 19.92 kB / 0.5738 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.1702, allocations: 28.11 kB / 0.5738 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1702, allocations: 4 kB / 0.5738 GB, free: 1.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1703, allocations: 107.3 kB / 0.5739 GB, free: 1.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1703, allocations: 0 / 0.5739 GB, free: 1.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000476/0.1708, allocations: 75.78 kB / 0.574 GB, free: 1.574 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.001551/0.1724, allocations: 1.087 MB / 0.5751 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009338/0.1733, allocations: 409.5 kB / 0.5755 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1733, allocations: 0 / 0.5755 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.1738, allocations: 321.2 kB / 0.5758 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1742, allocations: 15.98 kB / 0.5758 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.1779, allocations: 2.356 MB / 0.5781 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1784, allocations: 0.7361 MB / 0.5788 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.816e-05/0.1784, allocations: 21.36 kB / 0.5788 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.1785, allocations: 63.41 kB / 0.5789 GB, free: 12.33 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1785, allocations: 0 / 0.5789 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.2162, allocations: 4.457 MB / 0.5832 GB, free: 8.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.4, allocations: 15.44 kB / 0.5832 GB, free: 8.031 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 13.767551888944581]