Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.009082/0.009082, allocations: 106.3 kB / 21.98 MB, free: 5.219 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.002332/0.002332, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.519/1.519, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.93 MB / 362.3 MB, free: 4.203 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-beta.om/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: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 83.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3529, allocations: 66.08 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005158/0.358, allocations: 3.56 MB / 0.5662 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3598, allocations: 0.8219 MB / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.36, allocations: 11.94 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3603, allocations: 83.16 kB / 0.5671 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.3606, allocations: 130.8 kB / 0.5672 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.361, allocations: 135.8 kB / 0.5674 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.3615, allocations: 0.5178 MB / 0.5679 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.3619, allocations: 185 kB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.3621, allocations: 211.3 kB / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.3625, allocations: 238.9 kB / 0.5685 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.3625, allocations: 48 kB / 0.5685 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.3626, allocations: 48 kB / 0.5686 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3627, allocations: 119.6 kB / 0.5687 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.363, allocations: 246.8 kB / 0.5689 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.3637, allocations: 0.5599 MB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3637, allocations: 0 / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3637, allocations: 4 kB / 0.5695 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3637, allocations: 0 / 0.5695 GB, free: 13.32 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001355/0.365, allocations: 0.6961 MB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3651, allocations: 8.031 kB / 0.5701 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3652, allocations: 52.61 kB / 0.5702 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.3657, allocations: 263.7 kB / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.3657, allocations: 37.38 kB / 0.5705 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.3658, allocations: 52.36 kB / 0.5705 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.3666, allocations: 459.5 kB / 0.571 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3666, allocations: 0 / 0.571 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.3667, allocations: 20 kB / 0.571 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3667, allocations: 12 kB / 0.571 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.3674, allocations: 324.1 kB / 0.5713 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.3699, allocations: 1.612 MB / 0.5729 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.3705, allocations: 225 kB / 0.5731 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.3708, allocations: 125.7 kB / 0.5732 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3709, allocations: 12.16 kB / 0.5732 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.3709, allocations: 38.48 kB / 0.5733 GB, free: 9.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.983e-06/0.3709, allocations: 4 kB / 0.5733 GB, free: 9.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002907/0.3738, allocations: 1.123 MB / 0.5744 GB, free: 8.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3739, allocations: 93 kB / 0.5745 GB, free: 7.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3742, allocations: 257.9 kB / 0.5747 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3742, allocations: 33.64 kB / 0.5747 GB, free: 7.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3744, allocations: 264.1 kB / 0.575 GB, free: 7.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.914e-05/0.3745, allocations: 126.9 kB / 0.5751 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3746, allocations: 82.08 kB / 0.5752 GB, free: 7.129 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3748, allocations: 338.8 kB / 0.5755 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.375, allocations: 112.8 kB / 0.5756 GB, free: 6.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.3754, allocations: 216.3 kB / 0.5758 GB, free: 6.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.376, allocations: 330.2 kB / 0.5761 GB, free: 6.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.376, allocations: 7.938 kB / 0.5761 GB, free: 6.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008655/0.3769, allocations: 421.8 kB / 0.5765 GB, free: 5.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3769, allocations: 4.375 kB / 0.5765 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3769, allocations: 8 kB / 0.5766 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.3771, allocations: 28.84 kB / 0.5766 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.3776, allocations: 123.8 kB / 0.5767 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.3789, allocations: 1.338 MB / 0.578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3791, allocations: 12 kB / 0.578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.3791, allocations: 16 kB / 0.578 GB, free: 3.98 MB / 414.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.0002148/0.3793, allocations: 177.6 kB / 0.5782 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.3794, allocations: 31.81 kB / 0.5782 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.3795, allocations: 38.11 kB / 0.5783 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3795, allocations: 4 kB / 0.5783 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3795, allocations: 0 / 0.5783 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3795, allocations: 4.141 kB / 0.5783 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3807, allocations: 0.6833 MB / 0.5789 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3807, allocations: 0 / 0.5789 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3811, allocations: 95.88 kB / 0.579 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.759e-05/0.3812, allocations: 24.91 kB / 0.5791 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3812, allocations: 15.94 kB / 0.5791 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3822, allocations: 1.323 MB / 0.5804 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3822, allocations: 4.031 kB / 0.5804 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3833, allocations: 0.6016 MB / 0.581 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.3834, allocations: 47.83 kB / 0.581 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.3834, allocations: 8 kB / 0.581 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.3836, allocations: 15.98 kB / 0.581 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.3837, allocations: 31.89 kB / 0.5811 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3837, allocations: 16 kB / 0.5811 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3839, allocations: 181.2 kB / 0.5812 GB, free: 492 kB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3839, allocations: 0 / 0.5812 GB, free: 492 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.3844, allocations: 92 kB / 0.5813 GB, free: 400 kB / 414.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.0001329/0.3845, allocations: 114.1 kB / 0.5814 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.3854, allocations: 398.3 kB / 0.5818 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3854, allocations: 0 / 0.5818 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.3858, allocations: 243.3 kB / 0.5821 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3862, allocations: 48 kB / 0.5821 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.3879, allocations: 0.9553 MB / 0.583 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3884, allocations: 0.8113 MB / 0.5838 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3885, allocations: 31.42 kB / 0.5839 GB, free: 13.71 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3885, allocations: 0 / 0.5839 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Templates: time 0.01001/0.3985, allocations: 6.004 MB / 0.5897 GB, free: 7.715 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 8.081861456856132]