Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001059/0.001059, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001034/0.001034, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9634/0.9634, allocations: 177.2 MB / 205 MB, free: 5.629 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.312/0.312, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.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.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.557e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004034/0.004059, allocations: 2.7 MB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.005416, allocations: 0.7827 MB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.005563, allocations: 7.938 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.005801, allocations: 67.38 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.006056, allocations: 111.1 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.006323, allocations: 115.8 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006875/0.007011, allocations: 430.3 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.007211, allocations: 99.81 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.007472, allocations: 231.5 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.00763, allocations: 123.6 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.007683, allocations: 32 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.007731, allocations: 36 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.007791, allocations: 79.67 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.00791, allocations: 127.7 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.008222, allocations: 270.9 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.008225, allocations: 3.938 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008226, allocations: 0 / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.008231, allocations: 0 / 383.2 MB, free: 13.46 MB / 362.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.0008961/0.009128, allocations: 0.691 MB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.009171, allocations: 8.031 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.009282, allocations: 72.66 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.00956, allocations: 227.4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.009585, allocations: 29.38 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.009623, allocations: 36.38 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.01011, allocations: 311 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.01013, allocations: 3.938 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01016, allocations: 16 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.01017, allocations: 8 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.01044, allocations: 125.7 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01189, allocations: 1.329 MB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.01219, allocations: 180.5 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.01227, allocations: 50.86 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.01229, allocations: 7.938 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.01233, allocations: 45.33 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.01233, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003668/0.01269, allocations: 145.8 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.01276, allocations: 132.5 kB / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.01303, allocations: 338.2 kB / 386.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.01304, allocations: 29.83 kB / 386.9 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.01319, allocations: 298.7 kB / 387.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.01323, allocations: 51.59 kB / 387.3 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.01331, allocations: 67.53 kB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01347, allocations: 0.5118 MB / 387.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.01354, allocations: 28.55 kB / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.01368, allocations: 157 kB / 388 MB, free: 8.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01391, allocations: 203.7 kB / 388.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01391, allocations: 0 / 388.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003341/0.01424, allocations: 221.1 kB / 388.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01426, allocations: 4 kB / 388.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01427, allocations: 8.25 kB / 388.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01428, allocations: 4 kB / 388.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.01453, allocations: 83.88 kB / 388.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.01454, allocations: 4 kB / 388.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01469, allocations: 35.73 kB / 388.6 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.01471, allocations: 19.98 kB / 388.6 MB, free: 7.594 MB / 362.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 0.0001031/0.01482, allocations: 172.4 kB / 388.8 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.01491, allocations: 35.8 kB / 388.8 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.01495, allocations: 33.58 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01496, allocations: 0 / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01496, allocations: 4 kB / 388.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01497, allocations: 0 / 388.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.01587, allocations: 0.5964 MB / 389.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01587, allocations: 0 / 389.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.01601, allocations: 39.97 kB / 389.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01601, allocations: 4 kB / 389.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.01603, allocations: 12.14 kB / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01603, allocations: 7.938 kB / 389.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01603, allocations: 4.125 kB / 389.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.0163, allocations: 437.2 kB / 389.9 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.01634, allocations: 32.03 kB / 390 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01637, allocations: 4 kB / 390 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.01652, allocations: 15.98 kB / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.01659, allocations: 27.89 kB / 390 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01659, allocations: 4 kB / 390 MB, free: 6.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.01675, allocations: 227 kB / 390.2 MB, free: 5.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01675, allocations: 3.938 kB / 390.3 MB, free: 5.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.01714, allocations: 75.84 kB / 390.3 MB, free: 5.77 MB / 362.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 8.652e-05/0.01723, allocations: 99.12 kB / 390.4 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.01748, allocations: 122.8 kB / 390.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01748, allocations: 0 / 390.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.01756, allocations: 44.42 kB / 390.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.01795, allocations: 24.64 kB / 390.6 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.0188, allocations: 0.561 MB / 391.2 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.01887, allocations: 91.97 kB / 391.3 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.807e-05/0.01895, allocations: 13.64 kB / 391.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.019, allocations: 24.48 kB / 391.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01901, allocations: 0 / 391.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of Templates: time 0.004035/0.02304, allocations: 1.602 MB / 392.9 MB, free: 3.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.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.1984143992885947]