Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001343/0.001343, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001474/0.001474, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.573/1.573, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 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.2541/0.2541, allocations: 46.89 MB / 361.3 MB, free: 4.473 MB / 286.1 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.88 kB / 0.497 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4077, allocations: 66.02 MB / 0.5615 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003353/0.4111, allocations: 1.753 MB / 0.5632 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000194/0.4113, allocations: 87.59 kB / 0.5633 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.4114, allocations: 8 kB / 0.5633 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.811e-05/0.4114, allocations: 11.86 kB / 0.5633 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.076e-05/0.4115, allocations: 19.8 kB / 0.5633 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.4116, allocations: 31.95 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.4118, allocations: 111.6 kB / 0.5635 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.412, allocations: 39.97 kB / 0.5635 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.4121, allocations: 43.84 kB / 0.5636 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.4122, allocations: 51.78 kB / 0.5636 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.4122, allocations: 12 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.4123, allocations: 16 kB / 0.5636 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.4123, allocations: 19.92 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.4124, allocations: 55.77 kB / 0.5637 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.4126, allocations: 114.1 kB / 0.5638 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4126, allocations: 4 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4126, allocations: 0 / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4126, allocations: 0 / 0.5638 GB, free: 2.281 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.0007333/0.4133, allocations: 345.9 kB / 0.5641 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4134, allocations: 12.03 kB / 0.5642 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.4134, allocations: 8.891 kB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4135, allocations: 126.3 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4136, allocations: 12.31 kB / 0.5643 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.4136, allocations: 12.38 kB / 0.5643 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.414, allocations: 114.2 kB / 0.5644 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.414, allocations: 192 / 0.5644 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.414, allocations: 11.94 kB / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.414, allocations: 4 kB / 0.5644 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.4144, allocations: 111.7 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.4152, allocations: 442.5 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.4155, allocations: 74.53 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.4158, allocations: 64.92 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4158, allocations: 0 / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4158, allocations: 38.56 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.4158, allocations: 0 / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009455/0.4168, allocations: 194.2 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4168, allocations: 51.41 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.417, allocations: 117.8 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.417, allocations: 25.7 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4172, allocations: 116.1 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.4172, allocations: 27.78 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.4172, allocations: 17.72 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.4175, allocations: 318.8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4177, allocations: 43.91 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.4179, allocations: 54.53 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.4182, allocations: 98.5 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4182, allocations: 3.938 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004322/0.4186, allocations: 146.3 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4187, allocations: 10.5 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4187, allocations: 0 / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.4189, allocations: 24.84 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.419, allocations: 15.98 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.4205, allocations: 1.299 MB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.4207, allocations: 16.02 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4207, allocations: 8 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.0001631/0.4208, allocations: 127.1 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.4209, allocations: 11.89 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.4209, allocations: 8.375 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4209, allocations: 0 / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4209, allocations: 0 / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4209, allocations: 4 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.4218, allocations: 399 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4218, allocations: 0 / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.461e-05/0.4219, allocations: 15.98 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.286e-05/0.422, allocations: 24.84 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.422, allocations: 4 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.4234, allocations: 1.299 MB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4234, allocations: 0 / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.4239, allocations: 245.1 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.4239, allocations: 7.938 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4239, allocations: 4 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4241, allocations: 11.98 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.4241, allocations: 11.98 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4241, allocations: 8.125 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.408e-05/0.4242, allocations: 95.27 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.4245, allocations: 31.83 kB / 0.5699 GB, free: 11.54 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.0001405/0.4246, allocations: 91.25 kB / 0.57 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.4252, allocations: 206.5 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.4252, allocations: 0 / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.4255, allocations: 158.6 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4259, allocations: 11.94 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.4264, allocations: 228.1 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4268, allocations: 0.6963 MB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.107e-05/0.4269, allocations: 11.75 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.4269, allocations: 7.438 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4269, allocations: 0 / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of Templates: time 0.004573/0.4315, allocations: 1.156 MB / 0.5724 GB, free: 8.902 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.387872610241175]