Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.001995, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006536/0.0006536, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009612/0.001615, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9199/0.9199, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09153/1.011, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.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.1584/0.1584, allocations: 32.8 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1592/0.3176, allocations: 12.54 MB / 284.5 MB, free: 11.88 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.159e-05, allocations: 3.406 kB / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002693/0.002704, allocations: 2.712 MB / 288.5 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003768, allocations: 0.7567 MB / 289.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.003877, allocations: 13.88 kB / 289.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.004012, allocations: 63.66 kB / 289.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.004148, allocations: 106.2 kB / 289.5 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.004345, allocations: 118.8 kB / 289.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.0047, allocations: 423.7 kB / 290 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.004879, allocations: 105.8 kB / 290.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.005175, allocations: 257.2 kB / 290.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.005307, allocations: 128.3 kB / 290.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.00535, allocations: 32.56 kB / 290.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.728e-05/0.005387, allocations: 32.62 kB / 290.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.005435, allocations: 59.38 kB / 290.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.005519, allocations: 106.4 kB / 290.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.00577, allocations: 245.1 kB / 290.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.005782, allocations: 0 / 290.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005782, allocations: 0 / 290.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.005793, allocations: 1.375 kB / 290.9 MB, free: 7.168 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0006287/0.006421, allocations: 0.632 MB / 291.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.006449, allocations: 16.58 kB / 291.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.006511, allocations: 56.23 kB / 291.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.006703, allocations: 195.5 kB / 291.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.006721, allocations: 27.09 kB / 291.9 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.006751, allocations: 33.62 kB / 291.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.007081, allocations: 287.2 kB / 292.2 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.007094, allocations: 3.938 kB / 292.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.007119, allocations: 11.88 kB / 292.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.007133, allocations: 11.38 kB / 292.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.007326, allocations: 90.05 kB / 292.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.008212, allocations: 0.9706 MB / 293.3 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.00839, allocations: 136.6 kB / 293.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.008428, allocations: 35.19 kB / 293.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.008447, allocations: 7.781 kB / 293.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.008468, allocations: 37.31 kB / 293.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.008469, allocations: 1.438 kB / 293.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001919/0.008661, allocations: 107.2 kB / 293.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.00871, allocations: 135.2 kB / 293.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.008878, allocations: 263 kB / 294 MB, free: 4.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.008891, allocations: 30.83 kB / 294 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.008981, allocations: 232 kB / 294.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.009009, allocations: 58.45 kB / 294.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.009063, allocations: 56.73 kB / 294.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.009148, allocations: 342.9 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.009178, allocations: 28.48 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.009247, allocations: 112.2 kB / 294.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.009375, allocations: 166.9 kB / 295 MB, free: 3.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.009377, allocations: 4 kB / 295 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001575/0.009534, allocations: 169.8 kB / 295.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.009545, allocations: 7.938 kB / 295.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00955, allocations: 8.062 kB / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.009562, allocations: 4 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.009744, allocations: 88.14 kB / 295.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.00975, allocations: 11.98 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.009847, allocations: 31.78 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.009858, allocations: 8 kB / 295.3 MB, free: 3.414 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.009925, allocations: 125.8 kB / 295.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.009971, allocations: 28.2 kB / 295.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.01, allocations: 29.42 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01001, allocations: 7.984 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01001, allocations: 0 / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01001, allocations: 4 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.01036, allocations: 405.9 kB / 295.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01036, allocations: 4 kB / 295.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.745e-05/0.01046, allocations: 47.97 kB / 295.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01048, allocations: 23.84 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01049, allocations: 0 / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.01049, allocations: 4 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.0105, allocations: 7.938 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0105, allocations: 0 / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.01064, allocations: 303.1 kB / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01065, allocations: 4 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.01074, allocations: 11.94 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.01077, allocations: 15.97 kB / 296.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01077, allocations: 8 kB / 296.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.01083, allocations: 92.62 kB / 296.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01083, allocations: 0 / 296.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.01104, allocations: 75.78 kB / 296.5 MB, free: 2.152 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.974e-05/0.01111, allocations: 96.78 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01124, allocations: 97.06 kB / 296.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.01125, allocations: 4 kB / 296.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.01131, allocations: 50.08 kB / 296.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.01158, allocations: 123.1 kB / 296.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.01261, allocations: 0.5591 MB / 297.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.01266, allocations: 84.31 kB / 297.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.01272, allocations: 30.14 kB / 297.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.0128, allocations: 83.36 kB / 297.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0128, allocations: 0 / 297.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Templates: time 0.00373/0.01653, allocations: 1.988 MB / 299.6 MB, free: 14.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8859699610620737]