Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001189/0.001189, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.00366/0.00366, allocations: 162.5 kB / 24.7 MB, free: 8.879 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 0.9208/0.9208, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2937/0.2937, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.215e-05, allocations: 2.844 kB / 440.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001884/0.001906, allocations: 1.701 MB / 442.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.002057, allocations: 95.64 kB / 442.6 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.002099, allocations: 4 kB / 442.6 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.002143, allocations: 7.875 kB / 442.6 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.0022, allocations: 23.78 kB / 442.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.298e-05/0.002293, allocations: 31.89 kB / 442.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.002399, allocations: 111.6 kB / 442.8 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.002532, allocations: 31.98 kB / 442.8 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.002607, allocations: 67.88 kB / 442.9 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.002658, allocations: 39.89 kB / 442.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.002682, allocations: 8 kB / 442.9 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.002693, allocations: 15.94 kB / 442.9 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.002716, allocations: 23.91 kB / 443 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.002749, allocations: 31.92 kB / 443 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.002879, allocations: 123.6 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002881, allocations: 0 / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002882, allocations: 0 / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.002887, allocations: 0 / 443.1 MB, free: 1.469 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004216/0.003309, allocations: 353.9 kB / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.003345, allocations: 8.031 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.003376, allocations: 12.89 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.003456, allocations: 125.6 kB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.003467, allocations: 4.375 kB / 443.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.003481, allocations: 8.375 kB / 443.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.003692, allocations: 129.1 kB / 443.7 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003699, allocations: 4.188 kB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.003711, allocations: 384 / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003717, allocations: 4.375 kB / 443.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.003907, allocations: 107.8 kB / 443.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.004675, allocations: 383.3 kB / 444.2 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.004828, allocations: 86.47 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.004975, allocations: 60.92 kB / 444.4 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.004985, allocations: 0 / 444.4 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005005, allocations: 38.56 kB / 444.4 MB, free: 56 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.005006, allocations: 0 / 444.4 MB, free: 56 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.1802/0.1852, allocations: 183.9 kB / 444.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.1852, allocations: 52.78 kB / 444.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.1853, allocations: 121.1 kB / 444.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.1853, allocations: 29.83 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.1853, allocations: 107.9 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.1853, allocations: 18.03 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.1854, allocations: 20.66 kB / 444.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.1854, allocations: 316 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.1855, allocations: 40.19 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.401e-05/0.1856, allocations: 56.52 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1857, allocations: 103.1 kB / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1857, allocations: 0 / 445.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002292/0.186, allocations: 147.3 kB / 445.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.186, allocations: 8.781 kB / 445.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.186, allocations: 0 / 445.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.1861, allocations: 25.44 kB / 445.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.1862, allocations: 18.5 kB / 445.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005657/0.1868, allocations: 1.286 MB / 446.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1868, allocations: 13.34 kB / 446.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1868, allocations: 5.344 kB / 446.9 MB, free: 44.25 MB / 410.7 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 7.198e-05/0.1869, allocations: 119.6 kB / 447.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.1869, allocations: 13.23 kB / 447.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.051e-05/0.1869, allocations: 9.375 kB / 447.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1869, allocations: 5.125 kB / 447.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1869, allocations: 1.812 kB / 447.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1869, allocations: 0 / 447.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.1872, allocations: 363.6 kB / 447.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1872, allocations: 0 / 447.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.1873, allocations: 17.31 kB / 447.5 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.936e-05/0.1873, allocations: 22.22 kB / 447.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1873, allocations: 0 / 447.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003848/0.1877, allocations: 1.29 MB / 448.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1877, allocations: 2.656 kB / 448.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.1879, allocations: 233.6 kB / 449 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.1879, allocations: 10.12 kB / 449 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-06/0.1879, allocations: 5.094 kB / 449 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.188, allocations: 11.03 kB / 449 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.188, allocations: 12.12 kB / 449 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.188, allocations: 2.75 kB / 449 MB, free: 42.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.304e-05/0.1881, allocations: 89.62 kB / 449.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1881, allocations: 0 / 449.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.1882, allocations: 28.69 kB / 449.2 MB, free: 42.44 MB / 410.7 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.661e-05/0.1883, allocations: 98.23 kB / 449.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.1886, allocations: 202.1 kB / 449.5 MB, free: 42.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1886, allocations: 3.062 kB / 449.5 MB, free: 42.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1887, allocations: 155 kB / 449.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.189, allocations: 19.81 kB / 449.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.1893, allocations: 231.1 kB / 449.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.1894, allocations: 83.97 kB / 449.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1894, allocations: 13.45 kB / 449.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1894, allocations: 0 / 449.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002284/0.1917, allocations: 1.63 MB / 451.6 MB, free: 41.78 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.176964805461466]