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.0009372/0.0009371, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 176.2 kB / 16.58 MB, free: 6.844 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.887/1.887, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.4391/0.4391, allocations: 43.58 MB / 314.6 MB, free: 9.059 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.0007048/0.0007049, allocations: 16 kB / 384 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1422, allocations: 58.87 MB / 442.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002839/0.1451, allocations: 2.198 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1465, allocations: 0.7494 MB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.1467, allocations: 4 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.1469, allocations: 55.55 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1471, allocations: 75.45 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1474, allocations: 91.89 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.1478, allocations: 370.6 kB / 446.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1481, allocations: 115.1 kB / 446.5 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1483, allocations: 127.5 kB / 446.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1485, allocations: 147.2 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.1485, allocations: 16 kB / 446.7 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.1486, allocations: 16 kB / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1486, allocations: 59.77 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.1487, allocations: 89.52 kB / 446.9 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1491, allocations: 303.1 kB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1491, allocations: 4 kB / 447.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1491, allocations: 0 / 447.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1491, allocations: 0 / 447.2 MB, free: 8.848 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.0009936/0.1501, allocations: 0.6122 MB / 447.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1501, allocations: 8.031 kB / 447.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.1502, allocations: 51.33 kB / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1505, allocations: 263.3 kB / 448.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1505, allocations: 29 kB / 448.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.1506, allocations: 36 kB / 448.2 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.1513, allocations: 366.6 kB / 448.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1513, allocations: 4 kB / 448.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1513, allocations: 19.95 kB / 448.6 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1513, allocations: 8 kB / 448.6 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.1519, allocations: 284.9 kB / 448.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.154, allocations: 1.359 MB / 450.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.1545, allocations: 206.5 kB / 450.4 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.1547, allocations: 99.48 kB / 450.5 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.1547, allocations: 4 kB / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1547, allocations: 34.56 kB / 450.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1548, allocations: 7.938 kB / 450.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007559/0.1555, allocations: 281.6 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.1556, allocations: 128.5 kB / 451 MB, free: 4.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.1559, allocations: 332.4 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.156, allocations: 29.73 kB / 451.3 MB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1561, allocations: 231.7 kB / 451.5 MB, free: 4.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1562, allocations: 59.17 kB / 451.6 MB, free: 4.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.1562, allocations: 8 kB / 451.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1563, allocations: 342.8 kB / 451.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.1565, allocations: 92.5 kB / 452 MB, free: 3.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.1568, allocations: 184.1 kB / 452.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1571, allocations: 104 kB / 452.3 MB, free: 3.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1571, allocations: 0 / 452.3 MB, free: 3.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006177/0.1577, allocations: 325.1 kB / 452.6 MB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1578, allocations: 12 kB / 452.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1578, allocations: 0 / 452.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1578, allocations: 8 kB / 452.7 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.1582, allocations: 103.9 kB / 452.8 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1582, allocations: 8 kB / 452.8 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.1585, allocations: 51.56 kB / 452.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1585, allocations: 16 kB / 452.8 MB, free: 2.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.1587, allocations: 161.6 kB / 453 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.1588, allocations: 23.72 kB / 453 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.1588, allocations: 30.41 kB / 453 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1588, allocations: 8 kB / 453 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1589, allocations: 0 / 453 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1589, allocations: 4 kB / 453.1 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.1596, allocations: 0.5875 MB / 453.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1596, allocations: 3.938 kB / 453.6 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.1599, allocations: 72.09 kB / 453.7 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1599, allocations: 0 / 453.7 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1599, allocations: 4 kB / 453.7 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.16, allocations: 11.94 kB / 453.7 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.16, allocations: 7.938 kB / 453.7 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.1605, allocations: 410.5 kB / 454.1 MB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.1606, allocations: 116.8 kB / 454.3 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1607, allocations: 4 kB / 454.3 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1609, allocations: 20.27 kB / 454.3 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.161, allocations: 23.86 kB / 454.3 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.161, allocations: 12.12 kB / 454.3 MB, free: 1.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.1612, allocations: 223.1 kB / 454.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1612, allocations: 4 kB / 454.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.1617, allocations: 75.75 kB / 454.6 MB, free: 0.9336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.1618, allocations: 95.19 kB / 454.7 MB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.1623, allocations: 207.8 kB / 454.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1623, allocations: 0 / 454.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.1625, allocations: 100.6 kB / 455 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.163, allocations: 21.44 kB / 455 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/0.3788, allocations: 0.6558 MB / 455.7 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3791, allocations: 0.7733 MB / 456.5 MB, free: 45.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.3792, allocations: 22.27 kB / 456.5 MB, free: 45.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.3793, allocations: 20.81 kB / 456.5 MB, free: 45.71 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3793, allocations: 0 / 456.5 MB, free: 45.71 MB / 382.1 MB Notification: Performance of Templates: time 0.004509/0.3838, allocations: 1.558 MB / 458.1 MB, free: 45.68 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