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.008188/0.008194, allocations: 100.3 kB / 15.87 MB, free: 6.316 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.001658/0.001658, allocations: 193.1 kB / 16.79 MB, free: 6.242 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.748/1.748, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.3791/0.3791, allocations: 43.5 MB / 313.5 MB, free: 8.484 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.0014/0.0014, allocations: 74.53 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 57.77 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.00405/0.146, allocations: 2.672 MB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1472, allocations: 0.7762 MB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1474, allocations: 8 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1476, allocations: 51.62 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1479, allocations: 83.42 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1482, allocations: 99.91 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.1486, allocations: 394.5 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.1488, allocations: 124.1 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1491, allocations: 139.5 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1493, allocations: 167.2 kB / 444.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.1493, allocations: 27.94 kB / 444.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.357e-05/0.1494, allocations: 24 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.1494, allocations: 67.69 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.1496, allocations: 167.1 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1501, allocations: 402.5 kB / 445 MB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.1501, allocations: 0 / 445 MB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1501, allocations: 4 kB / 445 MB, free: 9.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.1501, allocations: 0 / 445 MB, free: 9.66 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.00114/0.1513, allocations: 0.659 MB / 445.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1513, allocations: 8.031 kB / 445.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.1514, allocations: 40.47 kB / 445.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1517, allocations: 272.6 kB / 445.9 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1518, allocations: 29.31 kB / 446 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.1518, allocations: 36.38 kB / 446 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.1525, allocations: 366.1 kB / 446.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1526, allocations: 0 / 446.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1526, allocations: 16 kB / 446.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1526, allocations: 8 kB / 446.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.1532, allocations: 267.8 kB / 446.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.1553, allocations: 1.338 MB / 448 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.1558, allocations: 202.5 kB / 448.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1561, allocations: 83.56 kB / 448.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1561, allocations: 0 / 448.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1561, allocations: 46.5 kB / 448.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.1561, allocations: 0 / 448.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007654/0.1569, allocations: 249.1 kB / 448.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.157, allocations: 136.5 kB / 448.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.1574, allocations: 328.4 kB / 449 MB, free: 5.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1574, allocations: 33.83 kB / 449 MB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1576, allocations: 231.7 kB / 449.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1577, allocations: 59.14 kB / 449.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.1578, allocations: 53.98 kB / 449.4 MB, free: 4.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.158, allocations: 342.7 kB / 449.7 MB, free: 4.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.1582, allocations: 76.52 kB / 449.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.1585, allocations: 168.2 kB / 450 MB, free: 4.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.159, allocations: 250.9 kB / 450.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.159, allocations: 4 kB / 450.2 MB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005936/0.1596, allocations: 313 kB / 450.5 MB, free: 3.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1596, allocations: 4 kB / 450.5 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1596, allocations: 4.156 kB / 450.5 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1597, allocations: 4 kB / 450.5 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.1601, allocations: 91.86 kB / 450.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.1601, allocations: 11.98 kB / 450.6 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1603, allocations: 51.64 kB / 450.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1604, allocations: 8 kB / 450.7 MB, free: 3.527 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.0001544/0.1605, allocations: 157.6 kB / 450.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.1606, allocations: 27.62 kB / 450.9 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.1607, allocations: 34.41 kB / 450.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1607, allocations: 4 kB / 450.9 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1607, allocations: 0 / 450.9 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1607, allocations: 4.562 kB / 450.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007401/0.1615, allocations: 0.5837 MB / 451.5 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1615, allocations: 4 kB / 451.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.1617, allocations: 63.88 kB / 451.6 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1618, allocations: 8.156 kB / 451.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1618, allocations: 3.938 kB / 451.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1618, allocations: 4 kB / 451.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1618, allocations: 4 kB / 451.6 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.1623, allocations: 394.5 kB / 452 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.1624, allocations: 112.9 kB / 452.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.1625, allocations: 7.938 kB / 452.1 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1627, allocations: 15.98 kB / 452.1 MB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.1628, allocations: 23.91 kB / 452.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1628, allocations: 8 kB / 452.1 MB, free: 1.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.163, allocations: 231 kB / 452.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.163, allocations: 0 / 452.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1634, allocations: 67.84 kB / 452.4 MB, free: 1.656 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.0001044/0.1635, allocations: 103.2 kB / 452.5 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.164, allocations: 191.7 kB / 452.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.164, allocations: 0 / 452.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.1643, allocations: 80.64 kB / 452.8 MB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.1648, allocations: 37.3 kB / 452.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1658, allocations: 0.6909 MB / 453.5 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2199/0.3857, allocations: 0.7663 MB / 454.3 MB, free: 48.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.3859, allocations: 24.42 kB / 454.3 MB, free: 48.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.386, allocations: 16.25 kB / 454.3 MB, free: 48.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.386, allocations: 2.875 kB / 454.3 MB, free: 48.41 MB / 382.1 MB Notification: Performance of Templates: time 0.00449/0.3905, allocations: 1.621 MB / 455.9 MB, free: 48.39 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