Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001307/0.001307, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001427/0.001427, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.2328/0.2328, allocations: 46.92 MB / 357.1 MB, free: 10.28 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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 0.4909 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1258, allocations: 66 MB / 0.5554 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005824/0.1316, allocations: 3.528 MB / 0.5588 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1335, allocations: 0.8374 MB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.134, allocations: 11.94 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.1343, allocations: 71.23 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.1349, allocations: 130.8 kB / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1355, allocations: 127.8 kB / 0.56 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.1363, allocations: 0.5257 MB / 0.5605 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1367, allocations: 181.9 kB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.137, allocations: 211.3 kB / 0.5608 GB, free: 148 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1374, allocations: 235 kB / 0.5611 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1375, allocations: 52 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1376, allocations: 48 kB / 0.5612 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1377, allocations: 107.6 kB / 0.5613 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.138, allocations: 254.9 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.1387, allocations: 0.5524 MB / 0.5621 GB, free: 14.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1387, allocations: 3.938 kB / 0.5621 GB, free: 14.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1387, allocations: 0 / 0.5621 GB, free: 14.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.1387, allocations: 0 / 0.5621 GB, free: 14.9 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001636/0.1403, allocations: 0.7753 MB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1404, allocations: 16.02 kB / 0.5628 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.1405, allocations: 86.66 kB / 0.5629 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1406, allocations: 56.61 kB / 0.563 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.1412, allocations: 325.5 kB / 0.5633 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.1413, allocations: 33.38 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.1414, allocations: 48.38 kB / 0.5634 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.1423, allocations: 459.1 kB / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1424, allocations: 3.984 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1424, allocations: 24 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1424, allocations: 8 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.1432, allocations: 327.8 kB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.1461, allocations: 1.674 MB / 0.5658 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.1467, allocations: 225 kB / 0.566 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.1471, allocations: 129.6 kB / 0.5661 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1471, allocations: 8 kB / 0.5661 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.1472, allocations: 42.55 kB / 0.5662 GB, free: 10.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.1472, allocations: 0 / 0.5662 GB, free: 10.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003377/0.1505, allocations: 1.336 MB / 0.5675 GB, free: 8.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.1506, allocations: 89.23 kB / 0.5676 GB, free: 8.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1509, allocations: 262.6 kB / 0.5678 GB, free: 8.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.1509, allocations: 33.64 kB / 0.5678 GB, free: 8.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1511, allocations: 268.1 kB / 0.5681 GB, free: 8.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1512, allocations: 126.9 kB / 0.5682 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.1514, allocations: 74.09 kB / 0.5683 GB, free: 8.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1515, allocations: 342.8 kB / 0.5686 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.1518, allocations: 108.8 kB / 0.5687 GB, free: 7.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.1522, allocations: 220.2 kB / 0.5689 GB, free: 7.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.1529, allocations: 333.3 kB / 0.5692 GB, free: 7.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1529, allocations: 0 / 0.5692 GB, free: 7.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009519/0.1539, allocations: 426.4 kB / 0.5696 GB, free: 6.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1539, allocations: 6.406 kB / 0.5697 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1539, allocations: 8 kB / 0.5697 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.154, allocations: 32.78 kB / 0.5697 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.1545, allocations: 119.9 kB / 0.5698 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.1558, allocations: 1.447 MB / 0.5712 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1561, allocations: 15.98 kB / 0.5712 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.1561, allocations: 23.94 kB / 0.5713 GB, free: 4.809 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0002141/0.1563, allocations: 165.7 kB / 0.5714 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.1564, allocations: 31.81 kB / 0.5714 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.096e-05/0.1565, allocations: 42.17 kB / 0.5715 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1565, allocations: 4 kB / 0.5715 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1565, allocations: 0 / 0.5715 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1565, allocations: 3.984 kB / 0.5715 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1578, allocations: 0.714 MB / 0.5722 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1578, allocations: 0 / 0.5722 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.1582, allocations: 95.88 kB / 0.5723 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.562e-05/0.1583, allocations: 28.78 kB / 0.5723 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1583, allocations: 8.062 kB / 0.5723 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1595, allocations: 1.43 MB / 0.5737 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1595, allocations: 3.984 kB / 0.5737 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1606, allocations: 0.6127 MB / 0.5743 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1608, allocations: 124.9 kB / 0.5744 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.1608, allocations: 4 kB / 0.5744 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.1611, allocations: 27.92 kB / 0.5745 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.1612, allocations: 27.91 kB / 0.5745 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1612, allocations: 12 kB / 0.5745 GB, free: 1.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.1614, allocations: 186 kB / 0.5747 GB, free: 1.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 0.5747 GB, free: 1.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.1619, allocations: 92 kB / 0.5748 GB, free: 0.9531 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.001456/0.1633, allocations: 1.147 MB / 0.5759 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000913/0.1643, allocations: 386.4 kB / 0.5763 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.1643, allocations: 4 kB / 0.5763 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1647, allocations: 239.3 kB / 0.5765 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.1652, allocations: 50.08 kB / 0.5765 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.1706, allocations: 3.475 MB / 0.5799 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1711, allocations: 0.819 MB / 0.5807 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.1713, allocations: 34.95 kB / 0.5808 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.1715, allocations: 139.4 kB / 0.5809 GB, free: 10.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1715, allocations: 0 / 0.5809 GB, free: 10.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.2077, allocations: 6.585 MB / 0.5873 GB, free: 3.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.84, allocations: 9.25 kB / 0.5873 GB, free: 3.953 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.277401331113651]