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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 99.61 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2469/0.2469, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 72.23 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.125, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003809/0.1289, allocations: 2.608 MB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1303, allocations: 0.7952 MB / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.1306, allocations: 4 kB / 443.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1309, allocations: 67.39 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006324/0.1316, allocations: 103.2 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.1321, allocations: 107.8 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.1327, allocations: 410.5 kB / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.133, allocations: 151.2 kB / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1333, allocations: 155.4 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1335, allocations: 171.1 kB / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.1335, allocations: 32 kB / 445.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.1336, allocations: 36 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.1337, allocations: 75.73 kB / 445.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.1338, allocations: 183 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.1342, allocations: 414.4 kB / 445.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1342, allocations: 4 kB / 445.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1342, allocations: 0 / 445.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1342, allocations: 4 kB / 445.8 MB, free: 1.566 MB / 318.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.001002/0.1353, allocations: 0.6513 MB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1353, allocations: 11.89 kB / 446.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.1354, allocations: 48.38 kB / 446.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1356, allocations: 268.7 kB / 446.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1356, allocations: 29.38 kB / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.1357, allocations: 32.38 kB / 446.8 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.1362, allocations: 362.2 kB / 447.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1362, allocations: 4 kB / 447.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.1363, allocations: 23.98 kB / 447.2 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1363, allocations: 8 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.1369, allocations: 270.9 kB / 447.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.1389, allocations: 1.342 MB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1394, allocations: 190.6 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.1396, allocations: 83.56 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1396, allocations: 0 / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1397, allocations: 46.48 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.1397, allocations: 0 / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007799/0.1404, allocations: 245.1 kB / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.1405, allocations: 136.6 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.1409, allocations: 328.4 kB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1409, allocations: 33.7 kB / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.141, allocations: 231.7 kB / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1411, allocations: 59.19 kB / 450.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.1412, allocations: 57.89 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1413, allocations: 338.8 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1416, allocations: 88.44 kB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1419, allocations: 168.1 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.1424, allocations: 247 kB / 451 MB, free: 11.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1424, allocations: 4 kB / 451 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006423/0.143, allocations: 305 kB / 451.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1431, allocations: 4 kB / 451.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1431, allocations: 4.562 kB / 451.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1431, allocations: 4 kB / 451.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.1435, allocations: 100 kB / 451.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1435, allocations: 4 kB / 451.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1438, allocations: 51.5 kB / 451.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1438, allocations: 20 kB / 451.5 MB, free: 11.44 MB / 334.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.0001448/0.144, allocations: 153.7 kB / 451.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.1441, allocations: 27.91 kB / 451.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.1441, allocations: 30.41 kB / 451.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1442, allocations: 11.92 kB / 451.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1442, allocations: 4 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1442, allocations: 4 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.1449, allocations: 0.5875 MB / 452.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1449, allocations: 0 / 452.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.1452, allocations: 60.09 kB / 452.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1452, allocations: 4 kB / 452.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1453, allocations: 3.938 kB / 452.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1453, allocations: 4 kB / 452.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1453, allocations: 7.922 kB / 452.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.1458, allocations: 393.9 kB / 452.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.1459, allocations: 108.7 kB / 452.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.146, allocations: 15.94 kB / 452.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.1462, allocations: 11.98 kB / 452.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.1463, allocations: 19.92 kB / 452.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1463, allocations: 4 kB / 452.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.1465, allocations: 231 kB / 453.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1465, allocations: 0 / 453.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000379/0.1469, allocations: 71.84 kB / 453.2 MB, free: 9.578 MB / 334.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 0.0001091/0.147, allocations: 99.19 kB / 453.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.1476, allocations: 199.9 kB / 453.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1476, allocations: 0.5 kB / 453.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.1478, allocations: 83.88 kB / 453.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.1483, allocations: 29.31 kB / 453.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.1493, allocations: 0.5577 MB / 454.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1496, allocations: 0.7675 MB / 455 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1498, allocations: 25.94 kB / 455 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.1498, allocations: 19.44 kB / 455 MB, free: 7.723 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1498, allocations: 0 / 455 MB, free: 7.723 MB / 334.1 MB Notification: Performance of Templates: time 0.005139/0.155, allocations: 1.805 MB / 456.8 MB, free: 5.922 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches