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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002185, allocations: 217.8 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3003/0.3003, allocations: 46.9 MB / 359.9 MB, free: 5 MB / 286.1 MB [Timeout remaining time 89] 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.002389/0.002389, allocations: 75.86 kB / 0.495 GB, free: 8.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3523, allocations: 65.99 MB / 0.5594 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005203/0.3575, allocations: 3.525 MB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3595, allocations: 0.8296 MB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.3598, allocations: 8 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.36, allocations: 75.23 kB / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.3603, allocations: 138.8 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.3607, allocations: 123.8 kB / 0.564 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.3613, allocations: 0.5257 MB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.3617, allocations: 181.5 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.3619, allocations: 215.3 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.3622, allocations: 235 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.3623, allocations: 48 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.3624, allocations: 48 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3625, allocations: 115.5 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3627, allocations: 242.9 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.3634, allocations: 0.555 MB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3634, allocations: 4 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3634, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3634, allocations: 0 / 0.5661 GB, free: 14.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.001402/0.3648, allocations: 0.7715 MB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3648, allocations: 12.02 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.365, allocations: 56.61 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.3655, allocations: 317.5 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.3656, allocations: 37.38 kB / 0.5672 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3657, allocations: 56.3 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.3665, allocations: 467.2 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3665, allocations: 0 / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.3666, allocations: 20 kB / 0.5677 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3666, allocations: 12 kB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.3673, allocations: 323.8 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.37, allocations: 1.667 MB / 0.5697 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.3705, allocations: 233 kB / 0.5699 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3709, allocations: 129.6 kB / 0.57 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3709, allocations: 4 kB / 0.57 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3709, allocations: 34.78 kB / 0.5701 GB, free: 9.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.3709, allocations: 0 / 0.5701 GB, free: 9.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003162/0.3741, allocations: 1.353 MB / 0.5714 GB, free: 8.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.3742, allocations: 85.02 kB / 0.5715 GB, free: 8.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.3745, allocations: 258.6 kB / 0.5717 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3745, allocations: 33.7 kB / 0.5718 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3747, allocations: 268.1 kB / 0.572 GB, free: 7.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3748, allocations: 126.9 kB / 0.5721 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3749, allocations: 78.03 kB / 0.5722 GB, free: 7.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3751, allocations: 346.8 kB / 0.5725 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3754, allocations: 100.8 kB / 0.5726 GB, free: 7.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.3757, allocations: 220.3 kB / 0.5728 GB, free: 6.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.3764, allocations: 338.2 kB / 0.5732 GB, free: 6.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3764, allocations: 3.938 kB / 0.5732 GB, free: 6.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008374/0.3772, allocations: 418 kB / 0.5736 GB, free: 6.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3772, allocations: 8 kB / 0.5736 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.3773, allocations: 4 kB / 0.5736 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.3774, allocations: 32.83 kB / 0.5736 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.3779, allocations: 127.9 kB / 0.5737 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.3792, allocations: 1.435 MB / 0.5751 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.3795, allocations: 24.05 kB / 0.5752 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.3795, allocations: 16 kB / 0.5752 GB, free: 4.332 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.0002304/0.3797, allocations: 165.7 kB / 0.5753 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.3798, allocations: 35.8 kB / 0.5754 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.3799, allocations: 30.19 kB / 0.5754 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3799, allocations: 7.938 kB / 0.5754 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3799, allocations: 7.984 kB / 0.5754 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3799, allocations: 4 kB / 0.5754 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3811, allocations: 0.7109 MB / 0.5761 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3811, allocations: 4 kB / 0.5761 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.3815, allocations: 91.94 kB / 0.5762 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-05/0.3816, allocations: 28.98 kB / 0.5762 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.3816, allocations: 11.94 kB / 0.5762 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3827, allocations: 1.427 MB / 0.5776 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3827, allocations: 0 / 0.5776 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3838, allocations: 0.6136 MB / 0.5782 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3839, allocations: 124.9 kB / 0.5783 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3839, allocations: 8 kB / 0.5784 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.3842, allocations: 19.98 kB / 0.5784 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.3843, allocations: 31.84 kB / 0.5784 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3843, allocations: 15.98 kB / 0.5784 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.3845, allocations: 178 kB / 0.5786 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3845, allocations: 0 / 0.5786 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.385, allocations: 96 kB / 0.5787 GB, free: 488 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.0001428/0.3851, allocations: 114.7 kB / 0.5788 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008913/0.386, allocations: 390.3 kB / 0.5792 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.386, allocations: 4.75 kB / 0.5792 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.3864, allocations: 246.6 kB / 0.5794 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.3869, allocations: 46.94 kB / 0.5794 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3886, allocations: 0.9569 MB / 0.5804 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3891, allocations: 0.8074 MB / 0.5812 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.3892, allocations: 35.42 kB / 0.5812 GB, free: 13.79 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3892, allocations: 0 / 0.5812 GB, free: 13.79 MB / 430.1 MB Notification: Performance of Templates: time 0.01044/0.3996, allocations: 5.999 MB / 0.5871 GB, free: 7.801 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