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.001825/0.001825, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.002021/0.002021, allocations: 188.2 kB / 17.34 MB, free: 5.742 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.851/1.851, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2366/0.2366, allocations: 43.51 MB / 314.1 MB, free: 452 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.001541/0.001541, allocations: 65.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.134, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.005234/0.1393, allocations: 2.619 MB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1407, allocations: 0.7991 MB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1409, allocations: 4 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1412, allocations: 71.38 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1415, allocations: 103.2 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1418, allocations: 99.86 kB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1421, allocations: 434.4 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.1424, allocations: 139.2 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.1426, allocations: 151.5 kB / 0.4922 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1428, allocations: 171.2 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.1428, allocations: 32 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.1429, allocations: 32 kB / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.143, allocations: 75.75 kB / 0.4925 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1431, allocations: 187 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.1435, allocations: 426.4 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1436, allocations: 4 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1436, allocations: 0 / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.1436, allocations: 0 / 0.493 GB, free: 6.449 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.001075/0.1447, allocations: 0.6474 MB / 0.4937 GB, free: 5.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1447, allocations: 19.88 kB / 0.4937 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.1448, allocations: 44.47 kB / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.1453, allocations: 272.6 kB / 0.494 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1453, allocations: 21.38 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.1454, allocations: 36.38 kB / 0.4941 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.1461, allocations: 362.2 kB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1461, allocations: 7.922 kB / 0.4944 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.1462, allocations: 16 kB / 0.4944 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1462, allocations: 8 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.1468, allocations: 263.8 kB / 0.4947 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1489, allocations: 1.33 MB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.1494, allocations: 194.5 kB / 0.4962 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1497, allocations: 87.5 kB / 0.4962 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1497, allocations: 3.984 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1497, allocations: 46.44 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.1498, allocations: 0 / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007905/0.1505, allocations: 249.3 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.1506, allocations: 132.5 kB / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.151, allocations: 332.4 kB / 0.497 GB, free: 2.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.151, allocations: 29.7 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1512, allocations: 235.8 kB / 0.4972 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1513, allocations: 59.23 kB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1514, allocations: 57.89 kB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1515, allocations: 338.8 kB / 0.4977 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.1518, allocations: 81 kB / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1521, allocations: 164.2 kB / 0.4979 GB, free: 1.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.1526, allocations: 254.9 kB / 0.4981 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.1526, allocations: 4 kB / 0.4981 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006354/0.1532, allocations: 309.2 kB / 0.4984 GB, free: 0.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1533, allocations: 7.938 kB / 0.4984 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1533, allocations: 4 kB / 0.4985 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1533, allocations: 4 kB / 0.4985 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.1537, allocations: 87.86 kB / 0.4985 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1537, allocations: 4 kB / 0.4985 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.154, allocations: 55.5 kB / 0.4986 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.154, allocations: 16.06 kB / 0.4986 GB, free: 332 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.0001499/0.1542, allocations: 153.7 kB / 0.4988 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.1543, allocations: 27.62 kB / 0.4988 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.1544, allocations: 30.41 kB / 0.4988 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1544, allocations: 4 kB / 0.4988 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1544, allocations: 0 / 0.4988 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1544, allocations: 4 kB / 0.4988 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.1552, allocations: 0.5954 MB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1552, allocations: 0 / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.1555, allocations: 59.88 kB / 0.4995 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1555, allocations: 4 kB / 0.4995 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1556, allocations: 12.09 kB / 0.4995 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.1556, allocations: 11.92 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1556, allocations: 4 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.1561, allocations: 386.6 kB / 0.4999 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.1562, allocations: 108.7 kB / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1563, allocations: 11.94 kB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1565, allocations: 16.05 kB / 0.5 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.1566, allocations: 23.92 kB / 0.5 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1566, allocations: 11.98 kB / 0.5 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1568, allocations: 223.1 kB / 0.5002 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1568, allocations: 3.938 kB / 0.5002 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.1573, allocations: 71.84 kB / 0.5003 GB, free: 14.45 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 0.0001045/0.1574, allocations: 95.25 kB / 0.5004 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.1579, allocations: 195.6 kB / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1579, allocations: 0 / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.1582, allocations: 84.62 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1586, allocations: 31.91 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009269/0.1595, allocations: 0.5456 MB / 0.5012 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1599, allocations: 0.7675 MB / 0.502 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.881e-05/0.16, allocations: 26.2 kB / 0.502 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.1601, allocations: 23.44 kB / 0.502 GB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1601, allocations: 0 / 0.502 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Templates: time 0.004786/0.1649, allocations: 1.853 MB / 0.5038 GB, free: 10.77 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