Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.001623/0.001623, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001167/0.001167, allocations: 165.5 kB / 25.61 MB, free: 8.586 MB / 18.57 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.057/1.057, allocations: 177.2 MB / 206.1 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] 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.1542/0.1542, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.7 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.984e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003281/0.003311, allocations: 2.467 MB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004456, allocations: 1.059 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.004537, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.005197, allocations: 0.5171 MB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.005389, allocations: 115.1 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.005913, allocations: 446.1 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.006114, allocations: 234.8 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.006361, allocations: 218.7 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.006498, allocations: 151.7 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.006589, allocations: 91.77 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.006611, allocations: 24 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.006786, allocations: 151.7 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.006809, allocations: 47.84 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.006851, allocations: 79.83 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.007097, allocations: 310.9 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007101, allocations: 0 / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007102, allocations: 0 / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007107, allocations: 0 / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000667/0.007775, allocations: 0.6404 MB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.007804, allocations: 12.03 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.00807, allocations: 84.66 kB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.008158, allocations: 136.3 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.008179, allocations: 28.84 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.008209, allocations: 24.38 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.008415, allocations: 221.6 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.008427, allocations: 4.188 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.008443, allocations: 12.38 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.008452, allocations: 11.94 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.00854, allocations: 83.34 kB / 386.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.009244, allocations: 0.8558 MB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.009404, allocations: 170 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.009489, allocations: 79.41 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.00955, allocations: 19.92 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.009565, allocations: 45.38 kB / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.009566, allocations: 0 / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003577/0.009924, allocations: 214.7 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.633e-05/0.00994, allocations: 89.17 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.009991, allocations: 181.9 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.01, allocations: 25.7 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.01004, allocations: 203 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.01007, allocations: 67.41 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.01011, allocations: 43.36 kB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.01015, allocations: 0.5 MB / 388.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.01018, allocations: 23.97 kB / 388.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.01022, allocations: 88.62 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.0103, allocations: 140.7 kB / 389.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01031, allocations: 0 / 389.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001627/0.01047, allocations: 176.7 kB / 389.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.01048, allocations: 7.938 kB / 389.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01048, allocations: 8.188 kB / 389.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.0106, allocations: 51.33 kB / 389.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.01068, allocations: 44.02 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007892/0.01147, allocations: 3.485 MB / 392.9 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.01152, allocations: 27.91 kB / 392.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01153, allocations: 11.98 kB / 392.9 MB, free: 9.191 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.01159, allocations: 160.6 kB / 393.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.01163, allocations: 15.95 kB / 393.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.0118, allocations: 167.9 kB / 393.2 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.0118, allocations: 8 kB / 393.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0118, allocations: 0 / 393.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01181, allocations: 4 kB / 393.3 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.01217, allocations: 0.4888 MB / 393.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01217, allocations: 4 kB / 393.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.01223, allocations: 35.86 kB / 393.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.391e-05/0.01231, allocations: 51.42 kB / 393.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.01232, allocations: 8.062 kB / 393.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000677/0.01299, allocations: 3.47 MB / 397.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01299, allocations: 3.938 kB / 397.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.0132, allocations: 471.9 kB / 397.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.01321, allocations: 15.98 kB / 397.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01323, allocations: 11.98 kB / 397.8 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.0133, allocations: 8 kB / 397.8 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.01334, allocations: 19.91 kB / 397.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.01335, allocations: 11.98 kB / 397.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.577e-05/0.01337, allocations: 146.2 kB / 398 MB, free: 3.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01337, allocations: 0 / 398 MB, free: 3.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.01363, allocations: 75.78 kB / 398.1 MB, free: 3.691 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0001275/0.01376, allocations: 127.1 kB / 398.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.01398, allocations: 445.1 kB / 398.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01398, allocations: 384 / 398.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01408, allocations: 399.2 kB / 399 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.0143, allocations: 16 kB / 399 MB, free: 2.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.01485, allocations: 450.4 kB / 399.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.01489, allocations: 76.22 kB / 399.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.01493, allocations: 25.02 kB / 399.6 MB, free: 2.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01498, allocations: 82.2 kB / 399.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01498, allocations: 0 / 399.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of Templates: time 0.004126/0.0191, allocations: 2.691 MB / 402.3 MB, free: 15.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.482401854824275]