Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001848/0.001848, allocations: 77.62 kB / 20.52 MB, free: 1.281 MB / 14.72 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.002249/0.002249, allocations: 161.8 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2268/0.2268, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Sources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 76.45 kB / 407.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1356, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.00444/0.14, allocations: 2.459 MB / 471.2 MB, free: 5.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1415, allocations: 0.7485 MB / 472 MB, free: 5.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1416, allocations: 4 kB / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1419, allocations: 79.36 kB / 472.1 MB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1421, allocations: 99.17 kB / 472.2 MB, free: 4.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1424, allocations: 107.9 kB / 472.3 MB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.1429, allocations: 418.4 kB / 472.7 MB, free: 4.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.1431, allocations: 95.84 kB / 472.8 MB, free: 4.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1434, allocations: 151.5 kB / 472.9 MB, free: 4.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.1437, allocations: 151.2 kB / 473.1 MB, free: 4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.1437, allocations: 32 kB / 473.1 MB, free: 3.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.1438, allocations: 36 kB / 473.1 MB, free: 3.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.1439, allocations: 79.64 kB / 473.2 MB, free: 3.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.1441, allocations: 147.3 kB / 473.4 MB, free: 3.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.1446, allocations: 426.1 kB / 473.8 MB, free: 3.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1446, allocations: 0 / 473.8 MB, free: 3.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1446, allocations: 0 / 473.8 MB, free: 3.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1446, allocations: 0 / 473.8 MB, free: 3.293 MB / 446.1 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.00117/0.1458, allocations: 0.595 MB / 474.4 MB, free: 2.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1458, allocations: 8.031 kB / 474.4 MB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.1459, allocations: 44.66 kB / 474.4 MB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.1463, allocations: 226.7 kB / 474.6 MB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.1464, allocations: 21.38 kB / 474.7 MB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.1464, allocations: 32.38 kB / 474.7 MB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.1471, allocations: 370.2 kB / 475.1 MB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1471, allocations: 0 / 475.1 MB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1471, allocations: 20 kB / 475.1 MB, free: 1.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1472, allocations: 8 kB / 475.1 MB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.1478, allocations: 267.2 kB / 475.3 MB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.1498, allocations: 1.165 MB / 476.5 MB, free: 424 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.1503, allocations: 194.5 kB / 476.7 MB, free: 192 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1505, allocations: 79.55 kB / 476.8 MB, free: 100 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1505, allocations: 8 kB / 476.8 MB, free: 92 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1506, allocations: 42.5 kB / 476.8 MB, free: 40 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.1506, allocations: 0 / 476.8 MB, free: 40 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.2929/0.4435, allocations: 236.5 kB / 477.1 MB, free: 50.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4435, allocations: 137.2 kB / 477.2 MB, free: 50.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.4438, allocations: 282.1 kB / 477.5 MB, free: 50.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.4438, allocations: 29.14 kB / 477.5 MB, free: 50 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.4439, allocations: 252.2 kB / 477.7 MB, free: 49.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.4439, allocations: 54.88 kB / 477.8 MB, free: 49.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.444, allocations: 55.86 kB / 477.8 MB, free: 49.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.4441, allocations: 335.9 kB / 478.2 MB, free: 49.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.4443, allocations: 78.5 kB / 478.2 MB, free: 49.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.4445, allocations: 169.2 kB / 478.4 MB, free: 49.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.4449, allocations: 250.9 kB / 478.7 MB, free: 49.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4449, allocations: 0 / 478.7 MB, free: 49.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005433/0.4455, allocations: 304.6 kB / 479 MB, free: 49.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4455, allocations: 12.5 kB / 479 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4455, allocations: 3.094 kB / 479 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4455, allocations: 7.5 kB / 479 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.4459, allocations: 90.47 kB / 479.1 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4459, allocations: 6.281 kB / 479.1 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.4462, allocations: 44.84 kB / 479.1 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4462, allocations: 9.922 kB / 479.1 MB, free: 49.23 MB / 446.1 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.0001118/0.4463, allocations: 148.3 kB / 479.3 MB, free: 49.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.4464, allocations: 35.98 kB / 479.3 MB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.4465, allocations: 28.36 kB / 479.3 MB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4465, allocations: 3.125 kB / 479.3 MB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4465, allocations: 1.75 kB / 479.3 MB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4465, allocations: 6.188 kB / 479.3 MB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.447, allocations: 0.4956 MB / 479.8 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.447, allocations: 0 / 479.8 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.4473, allocations: 63.36 kB / 479.9 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.4473, allocations: 3.938 kB / 479.9 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4473, allocations: 8.312 kB / 479.9 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4473, allocations: 3.125 kB / 479.9 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4473, allocations: 3.25 kB / 479.9 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.4477, allocations: 394.4 kB / 480.3 MB, free: 48.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4478, allocations: 29.2 kB / 480.3 MB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4478, allocations: 2.75 kB / 480.3 MB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.448, allocations: 19.75 kB / 480.4 MB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.4481, allocations: 21.17 kB / 480.4 MB, free: 48.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4481, allocations: 8.75 kB / 480.4 MB, free: 48.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4482, allocations: 196.8 kB / 480.6 MB, free: 48.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4482, allocations: 3.656 kB / 480.6 MB, free: 48.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.4486, allocations: 79.86 kB / 480.7 MB, free: 48.36 MB / 446.1 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 7.696e-05/0.4487, allocations: 96.72 kB / 480.8 MB, free: 48.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.4491, allocations: 190 kB / 480.9 MB, free: 48.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4491, allocations: 0 / 480.9 MB, free: 48.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.4493, allocations: 81.59 kB / 481 MB, free: 48.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4497, allocations: 25.84 kB / 481 MB, free: 48.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.4505, allocations: 0.5495 MB / 481.6 MB, free: 47.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.4506, allocations: 168.2 kB / 481.8 MB, free: 47.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.4507, allocations: 18.62 kB / 481.8 MB, free: 47.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4508, allocations: 18.06 kB / 481.8 MB, free: 47.84 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4508, allocations: 3.938 kB / 481.8 MB, free: 47.83 MB / 446.1 MB Notification: Performance of Templates: time 0.004644/0.4554, allocations: 1.5 MB / 483.3 MB, free: 47.68 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.549015044001862]