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.001768/0.001768, allocations: 110.3 kB / 18.49 MB, free: 4.539 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.002072/0.002072, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.628/1.628, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2089/0.2089, allocations: 44.91 MB / 355.8 MB, free: 12.38 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1309, allocations: 65.43 MB / 0.5524 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003729/0.1346, allocations: 2.504 MB / 0.5549 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1363, allocations: 1.106 MB / 0.5559 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.1364, allocations: 8 kB / 0.556 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.1377, allocations: 0.4979 MB / 0.5564 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.1379, allocations: 111.2 kB / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.1388, allocations: 490.1 kB / 0.557 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1391, allocations: 227 kB / 0.5572 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.1395, allocations: 202.5 kB / 0.5574 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.1397, allocations: 107.6 kB / 0.5575 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.1399, allocations: 123.5 kB / 0.5576 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1399, allocations: 20 kB / 0.5577 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1402, allocations: 155.9 kB / 0.5578 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1403, allocations: 51.84 kB / 0.5579 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1404, allocations: 119.4 kB / 0.558 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.1409, allocations: 394.6 kB / 0.5584 GB, free: 4.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1409, allocations: 4 kB / 0.5584 GB, free: 4.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1409, allocations: 0 / 0.5584 GB, free: 4.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1409, allocations: 0 / 0.5584 GB, free: 4.039 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00135/0.1423, allocations: 0.6314 MB / 0.559 GB, free: 3.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1423, allocations: 12.03 kB / 0.559 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.1423, allocations: 4.75 kB / 0.559 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.1424, allocations: 62.72 kB / 0.559 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.1427, allocations: 48.77 kB / 0.5591 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1429, allocations: 200 kB / 0.5593 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.1429, allocations: 20.94 kB / 0.5593 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1429, allocations: 24.38 kB / 0.5593 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.1436, allocations: 291.4 kB / 0.5596 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1436, allocations: 0 / 0.5596 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.1436, allocations: 12 kB / 0.5596 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1436, allocations: 4 kB / 0.5596 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.1442, allocations: 241.5 kB / 0.5599 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1458, allocations: 1.002 MB / 0.5608 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.1464, allocations: 355.3 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.1468, allocations: 129.6 kB / 0.5613 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.147, allocations: 170.1 kB / 0.5615 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.147, allocations: 38.56 kB / 0.5615 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.147, allocations: 0 / 0.5615 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001268/0.1483, allocations: 0.4919 MB / 0.562 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.1483, allocations: 81.11 kB / 0.5621 GB, free: 15.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1485, allocations: 144.1 kB / 0.5622 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1485, allocations: 29.7 kB / 0.5622 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.1486, allocations: 144.3 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.1487, allocations: 75.38 kB / 0.5624 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.1487, allocations: 41.73 kB / 0.5625 GB, free: 15.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1489, allocations: 322.8 kB / 0.5628 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.1491, allocations: 67.95 kB / 0.5628 GB, free: 15.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1494, allocations: 121 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1498, allocations: 207.5 kB / 0.5632 GB, free: 14.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1498, allocations: 112 / 0.5632 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006957/0.1505, allocations: 289.5 kB / 0.5634 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1505, allocations: 4 kB / 0.5634 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1506, allocations: 0 / 0.5634 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.1508, allocations: 49.69 kB / 0.5635 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.151, allocations: 39.97 kB / 0.5635 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.1533, allocations: 2.852 MB / 0.5663 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1535, allocations: 35.75 kB / 0.5663 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1535, allocations: 8 kB / 0.5663 GB, free: 11.13 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.0001401/0.1536, allocations: 144 kB / 0.5665 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.1537, allocations: 7.953 kB / 0.5665 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.1544, allocations: 268.2 kB / 0.5667 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1544, allocations: 4 kB / 0.5667 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.1544, allocations: 0 / 0.5667 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1544, allocations: 3.984 kB / 0.5668 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1556, allocations: 0.6539 MB / 0.5674 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1556, allocations: 0 / 0.5674 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.1558, allocations: 39.91 kB / 0.5674 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.1559, allocations: 41.7 kB / 0.5675 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1559, allocations: 8 kB / 0.5675 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.1581, allocations: 2.844 MB / 0.5703 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/0.1581, allocations: 4.219 kB / 0.5703 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.1591, allocations: 0.5162 MB / 0.5708 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.1591, allocations: 101.1 kB / 0.5709 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1591, allocations: 4 kB / 0.5709 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1593, allocations: 19.92 kB / 0.5709 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.1594, allocations: 19.97 kB / 0.5709 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1594, allocations: 7.938 kB / 0.5709 GB, free: 6.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.882e-05/0.1595, allocations: 105.3 kB / 0.571 GB, free: 5.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1595, allocations: 0 / 0.571 GB, free: 5.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.1599, allocations: 83.77 kB / 0.5711 GB, free: 5.852 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.001365/0.1613, allocations: 1.072 MB / 0.5721 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008069/0.1621, allocations: 409 kB / 0.5725 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1621, allocations: 0 / 0.5725 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.1625, allocations: 329.6 kB / 0.5728 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.163, allocations: 22.19 kB / 0.5729 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.1665, allocations: 2.355 MB / 0.5752 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1669, allocations: 0.7322 MB / 0.5759 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.167, allocations: 13.42 kB / 0.5759 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1671, allocations: 70.91 kB / 0.576 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1671, allocations: 0 / 0.576 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.1962, allocations: 4.493 MB / 0.5803 GB, free: 12.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.02, allocations: 11.92 kB / 0.5804 GB, free: 12.3 MB / 446.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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: 14.735502980998717]