Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001371/0.001371, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001426/0.001426, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.462/1.462, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2266/0.2266, allocations: 46.9 MB / 361.1 MB, free: 4.629 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [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.002436/0.002436, allocations: 75.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3206, allocations: 65.99 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003331/0.3239, allocations: 1.753 MB / 0.5629 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.3241, allocations: 87.7 kB / 0.563 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.3242, allocations: 3.938 kB / 0.563 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.785e-05/0.3242, allocations: 11.88 kB / 0.563 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.3243, allocations: 27.72 kB / 0.563 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.569e-05/0.3244, allocations: 23.97 kB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3246, allocations: 107.6 kB / 0.5631 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.3247, allocations: 39.97 kB / 0.5632 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.3248, allocations: 47.84 kB / 0.5632 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.3249, allocations: 55.7 kB / 0.5633 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.3249, allocations: 12 kB / 0.5633 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.106e-05/0.3249, allocations: 12 kB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.325, allocations: 19.92 kB / 0.5633 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.325, allocations: 55.78 kB / 0.5634 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3252, allocations: 118.3 kB / 0.5635 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3252, allocations: 0 / 0.5635 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3252, allocations: 0 / 0.5635 GB, free: 2.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.3252, allocations: 4 kB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007434/0.326, allocations: 419 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.326, allocations: 8.031 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.3261, allocations: 12.89 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3262, allocations: 180.2 kB / 0.5641 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3262, allocations: 4.375 kB / 0.5641 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3262, allocations: 12.38 kB / 0.5641 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.3266, allocations: 126.1 kB / 0.5642 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3266, allocations: 4.188 kB / 0.5642 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3266, allocations: 3.938 kB / 0.5642 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3266, allocations: 0 / 0.5642 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.327, allocations: 111.8 kB / 0.5643 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.3278, allocations: 471.4 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.328, allocations: 82.45 kB / 0.5649 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.3283, allocations: 64.94 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3283, allocations: 3.984 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3283, allocations: 30.56 kB / 0.565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3283, allocations: 0 / 0.565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001072/0.3294, allocations: 279.3 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3295, allocations: 55.41 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3297, allocations: 125.8 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3297, allocations: 25.7 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.3298, allocations: 108.2 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3298, allocations: 27.73 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3299, allocations: 21.72 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.33, allocations: 318.8 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.3302, allocations: 35.95 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3304, allocations: 54.55 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3307, allocations: 102.4 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3307, allocations: 0 / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004823/0.3312, allocations: 150.3 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3312, allocations: 4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3312, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.3314, allocations: 28.78 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3315, allocations: 19.97 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.3328, allocations: 1.399 MB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3329, allocations: 12.02 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3329, allocations: 4.062 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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.0001118/0.333, allocations: 117.8 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.333, allocations: 11.89 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.333, allocations: 12.31 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3331, allocations: 4.438 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3331, allocations: 4 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.3331, allocations: 92.98 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3331, allocations: 4 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3333, allocations: 15.98 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.3333, allocations: 7.984 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005645/0.3339, allocations: 229.6 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007996/0.3347, allocations: 338.6 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001698/0.3349, allocations: 40 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.3349, allocations: 95.27 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.3349, allocations: 0 / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.3356, allocations: 236.9 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007102/0.3363, allocations: 0.6696 MB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.004134/0.3405, allocations: 1.224 MB / 0.5706 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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: 4.809679560363293]