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.0014/0.0014, allocations: 95.64 kB / 15.98 MB, free: 5.867 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.001465/0.001465, allocations: 194.6 kB / 16.9 MB, free: 5.738 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.632/1.632, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3267/0.3267, allocations: 43.49 MB / 313.6 MB, free: 8.555 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.001344/0.001344, allocations: 63.91 kB / 382.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004635/0.1177, allocations: 2.656 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1189, allocations: 0.7801 MB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.119, allocations: 4 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1193, allocations: 51.62 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1195, allocations: 87.42 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1198, allocations: 99.91 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.1202, allocations: 418.5 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.1204, allocations: 143.1 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1206, allocations: 155.5 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1208, allocations: 171.1 kB / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.1208, allocations: 40 kB / 444.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.1209, allocations: 32 kB / 444.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.121, allocations: 75.69 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1211, allocations: 183 kB / 444.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.1215, allocations: 414.5 kB / 445.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1215, allocations: 4 kB / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1215, allocations: 0 / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1215, allocations: 0 / 445.3 MB, free: 9.434 MB / 382.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.0009877/0.1225, allocations: 0.6551 MB / 445.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1225, allocations: 11.89 kB / 445.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.1226, allocations: 40.47 kB / 446 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1229, allocations: 276.6 kB / 446.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.123, allocations: 25.38 kB / 446.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.123, allocations: 32.38 kB / 446.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.1236, allocations: 366.2 kB / 446.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1237, allocations: 3.938 kB / 446.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.1237, allocations: 16 kB / 446.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1237, allocations: 8 kB / 446.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.1243, allocations: 263.8 kB / 446.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1261, allocations: 1.342 MB / 448.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.1265, allocations: 198.5 kB / 448.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1267, allocations: 87.56 kB / 448.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1268, allocations: 7.984 kB / 448.6 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1268, allocations: 38.5 kB / 448.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1268, allocations: 0 / 448.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007072/0.1275, allocations: 249.1 kB / 448.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1276, allocations: 136.4 kB / 449 MB, free: 5.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.1279, allocations: 336.4 kB / 449.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.128, allocations: 25.7 kB / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1281, allocations: 231.8 kB / 449.6 MB, free: 4.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.1281, allocations: 55.2 kB / 449.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.1282, allocations: 53.98 kB / 449.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1284, allocations: 346.7 kB / 450 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.1286, allocations: 72.52 kB / 450.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1288, allocations: 172.2 kB / 450.3 MB, free: 4.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.1293, allocations: 254.9 kB / 450.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1293, allocations: 0.5 kB / 450.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005786/0.1299, allocations: 313.2 kB / 450.8 MB, free: 3.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1299, allocations: 7.938 kB / 450.8 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1299, allocations: 4 kB / 450.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.13, allocations: 4 kB / 450.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1303, allocations: 91.8 kB / 450.9 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1304, allocations: 8 kB / 450.9 MB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.1306, allocations: 43.64 kB / 451 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1306, allocations: 16 kB / 451 MB, free: 3.301 MB / 382.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.0001284/0.1308, allocations: 157.6 kB / 451.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.1308, allocations: 27.62 kB / 451.2 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.1309, allocations: 34.41 kB / 451.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1309, allocations: 0 / 451.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1309, allocations: 4 kB / 451.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1309, allocations: 288 / 451.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.1316, allocations: 0.5876 MB / 451.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1316, allocations: 4 kB / 451.8 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1319, allocations: 55.88 kB / 451.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1319, allocations: 4.156 kB / 451.9 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1319, allocations: 19.92 kB / 451.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1319, allocations: 0 / 451.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1319, allocations: 4 kB / 451.9 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.1324, allocations: 394.5 kB / 452.3 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.1325, allocations: 108.7 kB / 452.4 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1326, allocations: 15.88 kB / 452.4 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1328, allocations: 11.98 kB / 452.4 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.1328, allocations: 23.92 kB / 452.4 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1329, allocations: 4 kB / 452.4 MB, free: 1.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.1331, allocations: 227.1 kB / 452.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1331, allocations: 0 / 452.6 MB, free: 1.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1334, allocations: 71.84 kB / 452.7 MB, free: 1.434 MB / 382.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.0001402/0.1336, allocations: 107.2 kB / 452.8 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.1341, allocations: 195.7 kB / 453 MB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1341, allocations: 0 / 453 MB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.1343, allocations: 84.89 kB / 453.1 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.1348, allocations: 37.28 kB / 453.1 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.1358, allocations: 0.6861 MB / 453.8 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.16/0.2958, allocations: 0.7643 MB / 454.6 MB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.296, allocations: 25.47 kB / 454.6 MB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.2961, allocations: 22.06 kB / 454.6 MB, free: 48.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2961, allocations: 0 / 454.6 MB, free: 48.23 MB / 382.1 MB Notification: Performance of Templates: time 0.003965/0.3, allocations: 1.688 MB / 456.3 MB, free: 48.21 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches