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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 118.1 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 249.8 MB, free: 3.641 MB / 190.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.2366/0.2366, allocations: 44.92 MB / 349.6 MB, free: 1.758 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.66 kB / 491.8 MB, free: 30.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1191, allocations: 64.26 MB / 0.543 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004172/0.1233, allocations: 2.49 MB / 0.5454 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1251, allocations: 1.043 MB / 0.5464 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.1251, allocations: 8 kB / 0.5464 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.1265, allocations: 0.5017 MB / 0.5469 GB, free: 108 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1267, allocations: 103.3 kB / 0.547 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.128, allocations: 0.6418 MB / 0.5477 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1283, allocations: 219 kB / 0.5479 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.1287, allocations: 202.8 kB / 0.5481 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1289, allocations: 99.64 kB / 0.5482 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1291, allocations: 123.5 kB / 0.5483 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.1291, allocations: 24 kB / 0.5483 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.1294, allocations: 147.9 kB / 0.5484 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1295, allocations: 51.78 kB / 0.5485 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1296, allocations: 115.5 kB / 0.5486 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.1301, allocations: 394.5 kB / 0.549 GB, free: 14.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1302, allocations: 4 kB / 0.549 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1302, allocations: 0 / 0.549 GB, free: 14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1302, allocations: 0 / 0.549 GB, free: 14 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.001398/0.1316, allocations: 0.6197 MB / 0.5496 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1316, allocations: 12.03 kB / 0.5496 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.298e-05/0.1317, allocations: 62.72 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.132, allocations: 48.77 kB / 0.5497 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1322, allocations: 192.1 kB / 0.5499 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.1322, allocations: 20.94 kB / 0.5499 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.1323, allocations: 28.36 kB / 0.5499 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.1329, allocations: 291.5 kB / 0.5502 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1329, allocations: 4 kB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.133, allocations: 8 kB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.133, allocations: 8 kB / 0.5502 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.1336, allocations: 233.5 kB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.1352, allocations: 0.9899 MB / 0.5514 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.1358, allocations: 359.3 kB / 0.5518 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.1362, allocations: 131.3 kB / 0.5519 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1363, allocations: 93.09 kB / 0.552 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1363, allocations: 34.56 kB / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.1363, allocations: 0 / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001267/0.1376, allocations: 0.4936 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.1377, allocations: 85.05 kB / 0.5526 GB, free: 9.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1378, allocations: 139.8 kB / 0.5527 GB, free: 9.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1378, allocations: 29.83 kB / 0.5527 GB, free: 9.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1379, allocations: 148.4 kB / 0.5529 GB, free: 9.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.138, allocations: 75.34 kB / 0.5529 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.1381, allocations: 33.72 kB / 0.553 GB, free: 9.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1382, allocations: 322.8 kB / 0.5533 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.1385, allocations: 71.94 kB / 0.5533 GB, free: 9.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.1387, allocations: 122 kB / 0.5535 GB, free: 9.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.1392, allocations: 203.9 kB / 0.5537 GB, free: 8.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1392, allocations: 4 kB / 0.5537 GB, free: 8.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006679/0.1399, allocations: 286.9 kB / 0.5539 GB, free: 8.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1399, allocations: 4 kB / 0.5539 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1399, allocations: 112 / 0.5539 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.1401, allocations: 53.62 kB / 0.554 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1403, allocations: 52.09 kB / 0.554 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.1428, allocations: 2.824 MB / 0.5568 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1429, allocations: 28 kB / 0.5568 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.143, allocations: 15.94 kB / 0.5568 GB, free: 5.227 MB / 414.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.0001661/0.1431, allocations: 141.7 kB / 0.557 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.1432, allocations: 11.91 kB / 0.557 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.1438, allocations: 266.2 kB / 0.5572 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1439, allocations: 7.984 kB / 0.5572 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1439, allocations: 0 / 0.5572 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1439, allocations: 0 / 0.5572 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.1451, allocations: 0.6562 MB / 0.5579 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1451, allocations: 0 / 0.5579 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1452, allocations: 31.92 kB / 0.5579 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.1454, allocations: 49.69 kB / 0.558 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1454, allocations: 12.06 kB / 0.558 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.1477, allocations: 2.836 MB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1477, allocations: 0 / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009439/0.1486, allocations: 0.5199 MB / 0.5613 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.1487, allocations: 93.03 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1487, allocations: 11.94 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1489, allocations: 19.92 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.149, allocations: 15.97 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.149, allocations: 8 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1491, allocations: 109.4 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1491, allocations: 3.938 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.1496, allocations: 71.88 kB / 0.5616 GB, free: 15.95 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.001433/0.151, allocations: 1.074 MB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007984/0.1518, allocations: 411.7 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1518, allocations: 4 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.1523, allocations: 325.2 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.1527, allocations: 12 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.1562, allocations: 2.366 MB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1566, allocations: 0.736 MB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.741e-05/0.1567, allocations: 21.41 kB / 0.5664 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.1568, allocations: 59.41 kB / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1568, allocations: 0 / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.1941, allocations: 4.393 MB / 0.5707 GB, free: 6.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.24, allocations: 13.34 kB / 0.5708 GB, free: 6.484 MB / 430.1 MB " [Timeout remaining time 650] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.331454442813993]