Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.001335/0.001335, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005873/0.005873, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.9096/0.9096, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2398/0.2398, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.084e-05, allocations: 4.812 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.2301/0.2301, allocations: 2.362 MB / 445.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2313, allocations: 1.024 MB / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.2314, allocations: 8.438 kB / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007737/0.2321, allocations: 496.1 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.2324, allocations: 117.2 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2329, allocations: 456.8 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.2332, allocations: 228.6 kB / 448.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.2335, allocations: 214.7 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.2337, allocations: 148 kB / 448.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2339, allocations: 89.86 kB / 448.5 MB, free: 42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.2339, allocations: 20.5 kB / 448.5 MB, free: 42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.2342, allocations: 155.7 kB / 448.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.2342, allocations: 51.53 kB / 448.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.2343, allocations: 72.45 kB / 448.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.2347, allocations: 423.8 kB / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2347, allocations: 0 / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2347, allocations: 0 / 449.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2347, allocations: 0 / 449.2 MB, free: 41.71 MB / 410.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.0009159/0.2356, allocations: 0.5529 MB / 449.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2357, allocations: 11.19 kB / 449.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.2359, allocations: 46.19 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.236, allocations: 136 kB / 450 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.236, allocations: 20.47 kB / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.2361, allocations: 25.91 kB / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.2365, allocations: 284.1 kB / 450.3 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2365, allocations: 11 kB / 450.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2365, allocations: 12.31 kB / 450.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.2365, allocations: 12.31 kB / 450.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.2368, allocations: 224.2 kB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.2378, allocations: 0.8246 MB / 451.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.238, allocations: 198 kB / 451.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2382, allocations: 125.9 kB / 451.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.2383, allocations: 18.84 kB / 451.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.2384, allocations: 37.59 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.2384, allocations: 4 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006578/0.239, allocations: 353.3 kB / 452.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.239, allocations: 83.92 kB / 452.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.2391, allocations: 128.8 kB / 452.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2391, allocations: 32.61 kB / 452.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.2392, allocations: 147 kB / 452.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.2392, allocations: 75.33 kB / 452.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.2393, allocations: 36.59 kB / 452.6 MB, free: 39.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.2393, allocations: 325 kB / 452.9 MB, free: 39.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2394, allocations: 75.75 kB / 453 MB, free: 39.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2395, allocations: 121.5 kB / 453.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.2397, allocations: 205.9 kB / 453.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2397, allocations: 0 / 453.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003285/0.2401, allocations: 280.2 kB / 453.6 MB, free: 38.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2401, allocations: 12.03 kB / 453.6 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2401, allocations: 2.906 kB / 453.6 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.2403, allocations: 50.45 kB / 453.6 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.2404, allocations: 41.5 kB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000978/0.2413, allocations: 2.581 MB / 456.2 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.2414, allocations: 30.08 kB / 456.3 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2414, allocations: 5.781 kB / 456.3 MB, free: 36.27 MB / 410.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 9.367e-05/0.2415, allocations: 143.6 kB / 456.4 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.2415, allocations: 13.59 kB / 456.4 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.2419, allocations: 263.3 kB / 456.7 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2419, allocations: 6.531 kB / 456.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2419, allocations: 2.594 kB / 456.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2419, allocations: 3.234 kB / 456.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.2425, allocations: 0.551 MB / 457.2 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2425, allocations: 2.969 kB / 457.2 MB, free: 35.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.2426, allocations: 41.38 kB / 457.3 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.999e-05/0.2426, allocations: 47.16 kB / 457.3 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2427, allocations: 6.062 kB / 457.3 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007512/0.2434, allocations: 2.582 MB / 459.9 MB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2434, allocations: 3.328 kB / 459.9 MB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.2439, allocations: 0.5085 MB / 460.4 MB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.2439, allocations: 14.64 kB / 460.4 MB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2439, allocations: 10.53 kB / 460.5 MB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.244, allocations: 18.89 kB / 460.5 MB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.244, allocations: 21.7 kB / 460.5 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.244, allocations: 5.406 kB / 460.5 MB, free: 32.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.2441, allocations: 96.69 kB / 460.6 MB, free: 32.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2441, allocations: 2.906 kB / 460.6 MB, free: 32.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.2444, allocations: 74.81 kB / 460.7 MB, free: 32.56 MB / 410.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.0002263/0.2446, allocations: 133.9 kB / 460.8 MB, free: 32.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.2451, allocations: 410.9 kB / 461.2 MB, free: 32.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2451, allocations: 0 / 461.2 MB, free: 32.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.2452, allocations: 326 kB / 461.5 MB, free: 31.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2456, allocations: 14.53 kB / 461.5 MB, free: 31.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.2462, allocations: 460.2 kB / 462 MB, free: 31.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.784e-05/0.2463, allocations: 127.3 kB / 462.1 MB, free: 31.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2463, allocations: 18.38 kB / 462.1 MB, free: 31.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2463, allocations: 3.938 kB / 462.1 MB, free: 31.49 MB / 410.7 MB Notification: Performance of Templates: time 0.004203/0.2505, allocations: 4.429 MB / 466.6 MB, free: 31.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.1281409580260515]