Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001471/0.001471, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001632/0.001632, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.493/1.493, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3982/0.3982, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.847e-05, allocations: 4.844 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005574/0.005602, allocations: 3.254 MB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.007716, allocations: 0.8022 MB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.007905, allocations: 8 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.008131, allocations: 79.22 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.008448, allocations: 134.7 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.008842, allocations: 135.7 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.009519, allocations: 0.5486 MB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.009858, allocations: 166.3 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.01031, allocations: 315.3 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.01059, allocations: 175.5 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.01068, allocations: 48 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.01077, allocations: 48 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.01088, allocations: 107.6 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.0111, allocations: 175.6 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.01183, allocations: 0.5724 MB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01183, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01183, allocations: 3.938 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.01184, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 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.001472/0.01331, allocations: 0.6883 MB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01336, allocations: 12.03 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.01354, allocations: 92.61 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.01406, allocations: 255 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.01411, allocations: 37.38 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.01421, allocations: 48.38 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.01523, allocations: 0.5032 MB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.01525, allocations: 4.188 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.01529, allocations: 16.38 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.01531, allocations: 15.94 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.01613, allocations: 320.4 kB / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.01887, allocations: 1.485 MB / 387.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.01951, allocations: 221.1 kB / 387.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.01988, allocations: 128.7 kB / 387.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.0199, allocations: 8.25 kB / 387.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.01994, allocations: 34.56 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.01994, allocations: 224 / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003515/0.02346, allocations: 1.135 MB / 388.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.02353, allocations: 81.11 kB / 388.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.02386, allocations: 265.7 kB / 389 MB, free: 6.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.02389, allocations: 29.7 kB / 389.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.02412, allocations: 264.1 kB / 389.3 MB, free: 6.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.02425, allocations: 122.9 kB / 389.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.02438, allocations: 78.14 kB / 389.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.0246, allocations: 338.8 kB / 389.9 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.02491, allocations: 108.9 kB / 390 MB, free: 5.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.02533, allocations: 217 kB / 390.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.02607, allocations: 339.7 kB / 390.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02607, allocations: 4 kB / 390.5 MB, free: 5.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001028/0.0271, allocations: 444.9 kB / 390.9 MB, free: 4.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.02711, allocations: 4 kB / 391 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.02713, allocations: 7.984 kB / 391 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.02733, allocations: 37.16 kB / 391 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.02784, allocations: 119.9 kB / 391.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.02928, allocations: 1.315 MB / 392.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.02955, allocations: 23.98 kB / 392.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.02958, allocations: 16 kB / 392.5 MB, free: 3.074 MB / 362.7 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.0002345/0.02982, allocations: 165.8 kB / 392.6 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.02993, allocations: 39.81 kB / 392.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/0.03001, allocations: 42.05 kB / 392.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.03002, allocations: 4 kB / 392.7 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.03003, allocations: 0 / 392.7 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.03004, allocations: 3.984 kB / 392.7 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.03123, allocations: 0.5863 MB / 393.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.03123, allocations: 0 / 393.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.03169, allocations: 91.88 kB / 393.4 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.03181, allocations: 28.84 kB / 393.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.03184, allocations: 8 kB / 393.4 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.03341, allocations: 1.308 MB / 394.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.03341, allocations: 0 / 394.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.03461, allocations: 0.6052 MB / 395.3 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.03475, allocations: 51.77 kB / 395.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.03479, allocations: 8 kB / 395.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.03507, allocations: 20.05 kB / 395.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.03516, allocations: 27.95 kB / 395.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.03518, allocations: 11.98 kB / 395.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.0354, allocations: 177.2 kB / 395.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0354, allocations: 4 kB / 395.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.03592, allocations: 92 kB / 395.7 MB, free: 15.63 MB / 378.7 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.0001544/0.03607, allocations: 103.2 kB / 395.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009636/0.03704, allocations: 392.4 kB / 396.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03704, allocations: 0 / 396.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.03749, allocations: 247.3 kB / 396.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.03801, allocations: 56.39 kB / 396.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.03974, allocations: 0.8333 MB / 397.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.03998, allocations: 207.8 kB / 397.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.04013, allocations: 34.95 kB / 397.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.04022, allocations: 24.5 kB / 397.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04022, allocations: 0 / 397.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of Templates: time 0.008371/0.04859, allocations: 2.962 MB / 400.6 MB, free: 10.74 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.089356943033636]