Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001946/0.001946, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002781/0.002781, allocations: 212 kB / 23.74 MB, free: 4.688 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.667/1.667, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2569/0.2569, allocations: 46.94 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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: 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_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_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 71.83 kB / 0.4966 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4309, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00343/0.4344, allocations: 1.752 MB / 0.5628 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.4346, allocations: 83.67 kB / 0.5629 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.4346, allocations: 0 / 0.5629 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.257e-05/0.4347, allocations: 15.86 kB / 0.5629 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.4348, allocations: 23.78 kB / 0.5629 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.4349, allocations: 31.91 kB / 0.563 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.4351, allocations: 103.6 kB / 0.5631 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.4353, allocations: 43.94 kB / 0.5631 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.253e-05/0.4353, allocations: 43.86 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.4354, allocations: 55.77 kB / 0.5632 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.4355, allocations: 8 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.4355, allocations: 12 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.4355, allocations: 23.92 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.4356, allocations: 55.73 kB / 0.5633 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.4358, allocations: 118 kB / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4358, allocations: 0 / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4358, allocations: 0 / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4358, allocations: 0 / 0.5634 GB, free: 2.062 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.000806/0.4366, allocations: 349.9 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4367, allocations: 8.031 kB / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.4367, allocations: 16.83 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4369, allocations: 118.4 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4369, allocations: 8.375 kB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4369, allocations: 8.375 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.4373, allocations: 119.8 kB / 0.564 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4373, allocations: 4.188 kB / 0.564 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.4373, allocations: 3.938 kB / 0.564 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4373, allocations: 0 / 0.564 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.4377, allocations: 119.7 kB / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.4386, allocations: 446.5 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.4388, allocations: 86.53 kB / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.4391, allocations: 52.94 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.4391, allocations: 7.938 kB / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4391, allocations: 30.56 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4391, allocations: 4 kB / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008116/0.4399, allocations: 194.2 kB / 0.5649 GB, free: 384 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.44, allocations: 55.41 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4401, allocations: 121.8 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4401, allocations: 25.7 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.4402, allocations: 112.2 kB / 0.5652 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4402, allocations: 15.8 kB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.4403, allocations: 21.72 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4404, allocations: 318.8 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4406, allocations: 35.97 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.4408, allocations: 62.47 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.4411, allocations: 98.5 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4411, allocations: 3.938 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004048/0.4415, allocations: 146.3 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4415, allocations: 4 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4415, allocations: 4.062 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.4416, allocations: 24.84 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4418, allocations: 19.97 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.443, allocations: 1.303 MB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.4431, allocations: 16.27 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.4431, allocations: 4 kB / 0.5672 GB, free: 13.8 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.0001116/0.4432, allocations: 117.8 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.4432, allocations: 15.89 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.4433, allocations: 12.44 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4433, allocations: 4 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4433, allocations: 0 / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4433, allocations: 0 / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.444, allocations: 399.1 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.444, allocations: 0 / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.4441, allocations: 19.91 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.067e-05/0.4441, allocations: 24.84 kB / 0.5678 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4441, allocations: 0 / 0.5678 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.4452, allocations: 1.299 MB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4452, allocations: 0 / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.4457, allocations: 245.1 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.4457, allocations: 11.89 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.4457, allocations: 0 / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4459, allocations: 11.98 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.4459, allocations: 7.984 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.4459, allocations: 4.125 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.446, allocations: 99.64 kB / 0.5694 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.446, allocations: 4 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.4463, allocations: 31.83 kB / 0.5695 GB, free: 11.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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.0001159/0.4464, allocations: 95.23 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000561/0.4469, allocations: 214.7 kB / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4469, allocations: 0 / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.4472, allocations: 154.7 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.4475, allocations: 10.97 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.4481, allocations: 221.2 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.4485, allocations: 0.6963 MB / 0.5708 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.4485, allocations: 3.75 kB / 0.5708 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.4485, allocations: 15.44 kB / 0.5708 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4485, allocations: 3.938 kB / 0.5708 GB, free: 9.824 MB / 414.1 MB Notification: Performance of Templates: time 0.004567/0.4531, allocations: 1.155 MB / 0.572 GB, free: 8.676 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.61466102511622]