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.001376/0.001376, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.00158/0.00158, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.521/1.521, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.2211/0.2211, allocations: 34.28 MB / 295 MB, free: 14.58 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+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 1.904e-06/1.904e-06, allocations: 0 / 442.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.202e-05, allocations: 2.281 kB / 442.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003016/0.003048, allocations: 1.704 MB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.003236, allocations: 95.64 kB / 444.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.003293, allocations: 4 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.526e-05/0.003348, allocations: 11.86 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.003437, allocations: 23.78 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.003539, allocations: 19.97 kB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.00371, allocations: 119.5 kB / 444.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.003865, allocations: 35.92 kB / 444.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.967e-05/0.003965, allocations: 67.86 kB / 444.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.004041, allocations: 35.89 kB / 444.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.004071, allocations: 12 kB / 444.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.004092, allocations: 12 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.004125, allocations: 27.91 kB / 444.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.004188, allocations: 31.92 kB / 444.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.004366, allocations: 123.6 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004369, allocations: 0 / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00437, allocations: 0 / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.004375, allocations: 0 / 445 MB, free: 3.113 MB / 366.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.0006787/0.005053, allocations: 342 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.005095, allocations: 12.03 kB / 445.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.005136, allocations: 8.891 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.005274, allocations: 133.5 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.005289, allocations: 4.375 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.005309, allocations: 12.38 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.005683, allocations: 122 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005693, allocations: 4.188 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.005712, allocations: 4.375 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005717, allocations: 384 / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.006115, allocations: 111.8 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.006889, allocations: 387.3 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.007161, allocations: 78.53 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.007409, allocations: 56.94 kB / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.007425, allocations: 0 / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.007461, allocations: 38.55 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007462, allocations: 4 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008409/0.008303, allocations: 186.3 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.008346, allocations: 51.41 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.008455, allocations: 113.8 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.008476, allocations: 33.7 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.008556, allocations: 115.9 kB / 446.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.008622, allocations: 15.86 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.008669, allocations: 21.66 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.008843, allocations: 318.8 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.009017, allocations: 35.97 kB / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.009199, allocations: 58.53 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.009537, allocations: 98.44 kB / 447.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009539, allocations: 0 / 447.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004439/0.009983, allocations: 150.6 kB / 447.4 MB, free: 452 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.009998, allocations: 7.938 kB / 447.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01, allocations: 0 / 447.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.01016, allocations: 24.84 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01029, allocations: 23.97 kB / 447.5 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2108/0.221, allocations: 1.265 MB / 448.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2212, allocations: 19.19 kB / 448.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2212, allocations: 6.219 kB / 448.8 MB, free: 18.13 MB / 366.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 6.966e-05/0.2212, allocations: 117.9 kB / 448.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.2213, allocations: 10.47 kB / 448.9 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.2213, allocations: 14.42 kB / 448.9 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2213, allocations: 1.125 kB / 448.9 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2213, allocations: 0 / 448.9 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2213, allocations: 1.938 kB / 448.9 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.2219, allocations: 356.7 kB / 449.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2219, allocations: 0 / 449.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.222, allocations: 22.77 kB / 449.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.2221, allocations: 26.89 kB / 449.3 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2221, allocations: 1.641 kB / 449.3 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005597/0.2226, allocations: 1.279 MB / 450.6 MB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2226, allocations: 0 / 450.6 MB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.223, allocations: 241.4 kB / 450.8 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.223, allocations: 7.5 kB / 450.8 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2231, allocations: 1.812 kB / 450.8 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2232, allocations: 13.75 kB / 450.9 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2232, allocations: 12.12 kB / 450.9 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-06/0.2232, allocations: 1.25 kB / 450.9 MB, free: 16.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.2233, allocations: 94.64 kB / 451 MB, free: 16.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2233, allocations: 3.875 kB / 451 MB, free: 16.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.2235, allocations: 26.84 kB / 451 MB, free: 16.31 MB / 366.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 8.043e-05/0.2236, allocations: 98.56 kB / 451.1 MB, free: 16.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.2241, allocations: 198.7 kB / 451.3 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2241, allocations: 6.5 kB / 451.3 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2243, allocations: 155.9 kB / 451.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2246, allocations: 12.98 kB / 451.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.225, allocations: 214.2 kB / 451.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.225, allocations: 82.59 kB / 451.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.2251, allocations: 4.594 kB / 451.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.2251, allocations: 10.72 kB / 451.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2251, allocations: 1.125 kB / 451.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004084/0.2292, allocations: 1.167 MB / 452.9 MB, free: 15.6 MB / 366.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: 4.943866033107042]