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.001353/0.001353, allocations: 111.6 kB / 16.41 MB, free: 6.492 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.001614/0.001614, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.827/1.827, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2362/0.2362, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001404/0.001404, allocations: 75.83 kB / 441.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 57.79 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003928/0.1492, allocations: 2.612 MB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1506, allocations: 0.7991 MB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1508, allocations: 8 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.151, allocations: 71.36 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1512, allocations: 99.17 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1515, allocations: 107.9 kB / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.1519, allocations: 422.4 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1522, allocations: 143.2 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1524, allocations: 151.4 kB / 0.4922 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1526, allocations: 171.2 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.1526, allocations: 32 kB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.1527, allocations: 36 kB / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.1528, allocations: 71.77 kB / 0.4925 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1529, allocations: 187 kB / 0.4926 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.1533, allocations: 422.4 kB / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1533, allocations: 0 / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1533, allocations: 0 / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1533, allocations: 0 / 0.493 GB, free: 6.504 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.001112/0.1545, allocations: 0.6591 MB / 0.4937 GB, free: 5.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1545, allocations: 11.89 kB / 0.4937 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.1546, allocations: 40.47 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.155, allocations: 280.6 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.155, allocations: 25.38 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.1551, allocations: 28.38 kB / 0.494 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.1557, allocations: 370.2 kB / 0.4944 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1558, allocations: 0 / 0.4944 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1558, allocations: 12 kB / 0.4944 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1558, allocations: 11.94 kB / 0.4944 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.1564, allocations: 263.8 kB / 0.4947 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1583, allocations: 1.338 MB / 0.496 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1588, allocations: 194.6 kB / 0.4962 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.159, allocations: 79.56 kB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.159, allocations: 11.94 kB / 0.4963 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1591, allocations: 42.48 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.1591, allocations: 0 / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007666/0.1599, allocations: 253.1 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.16, allocations: 132.5 kB / 0.4967 GB, free: 2.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.1603, allocations: 328.4 kB / 0.497 GB, free: 2.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1603, allocations: 29.83 kB / 0.497 GB, free: 2.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1605, allocations: 235.6 kB / 0.4972 GB, free: 1.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.1606, allocations: 55.25 kB / 0.4973 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.1607, allocations: 53.89 kB / 0.4973 GB, free: 1.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1608, allocations: 350.7 kB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.161, allocations: 76.5 kB / 0.4977 GB, free: 1.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1613, allocations: 172.1 kB / 0.4979 GB, free: 1.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.1618, allocations: 251.1 kB / 0.4981 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1618, allocations: 0 / 0.4981 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006489/0.1625, allocations: 309.2 kB / 0.4984 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1625, allocations: 8 kB / 0.4984 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1625, allocations: 0 / 0.4984 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1625, allocations: 8 kB / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.1629, allocations: 91.86 kB / 0.4985 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1629, allocations: 4 kB / 0.4985 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.1632, allocations: 47.58 kB / 0.4986 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1633, allocations: 19.92 kB / 0.4986 GB, free: 380 kB / 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.0001575/0.1634, allocations: 153.7 kB / 0.4988 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.1635, allocations: 31.62 kB / 0.4988 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.1636, allocations: 34.41 kB / 0.4988 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1636, allocations: 4 kB / 0.4988 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1636, allocations: 0.5625 kB / 0.4988 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1636, allocations: 0 / 0.4988 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.1644, allocations: 0.5914 MB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1645, allocations: 4 kB / 0.4994 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.1647, allocations: 59.94 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1647, allocations: 4.156 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1647, allocations: 11.94 kB / 0.4995 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1648, allocations: 3.938 kB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1648, allocations: 4 kB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1653, allocations: 398.2 kB / 0.4999 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.1654, allocations: 120.6 kB / 0.5 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1654, allocations: 3.938 kB / 0.5 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1656, allocations: 19.98 kB / 0.5 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1657, allocations: 15.98 kB / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.1657, allocations: 4 kB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.1659, allocations: 231 kB / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1659, allocations: 0 / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1663, allocations: 67.84 kB / 0.5003 GB, free: 14.5 MB / 398.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 9.722e-05/0.1664, allocations: 99.19 kB / 0.5004 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.1669, allocations: 195.6 kB / 0.5006 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1669, allocations: 0 / 0.5006 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.1671, allocations: 80.7 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.1676, allocations: 33.36 kB / 0.5007 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.1684, allocations: 0.5455 MB / 0.5012 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1688, allocations: 0.7714 MB / 0.502 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.052e-05/0.1689, allocations: 26.2 kB / 0.502 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.169, allocations: 23.44 kB / 0.502 GB, free: 12.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.169, allocations: 0 / 0.502 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004736/0.1737, allocations: 1.857 MB / 0.5038 GB, free: 10.8 MB / 398.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