Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009734/0.0009733, allocations: 96.28 kB / 15.69 MB, free: 480 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.001335/0.001335, allocations: 179.2 kB / 16.57 MB, free: 6.848 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.596/1.596, allocations: 205.4 MB / 222.7 MB, free: 5.906 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.4/0.4, allocations: 43.54 MB / 314.5 MB, free: 8.672 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.0006039/0.0006041, allocations: 15.98 kB / 383.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.86 MB / 442.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003273/0.1349, allocations: 2.741 MB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1364, allocations: 0.8309 MB / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.1367, allocations: 15.94 kB / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1368, allocations: 51.61 kB / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1372, allocations: 135.6 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1375, allocations: 91.91 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.1381, allocations: 351.8 kB / 447 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.1384, allocations: 190.5 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.1387, allocations: 179.3 kB / 447.3 MB, free: 8.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.139, allocations: 195.1 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.139, allocations: 24 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.1391, allocations: 24 kB / 447.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1392, allocations: 83.67 kB / 447.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/0.1393, allocations: 113.5 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.1397, allocations: 415 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1397, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1397, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1397, allocations: 0 / 448.1 MB, free: 7.68 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001211/0.1409, allocations: 0.694 MB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.141, allocations: 8.031 kB / 448.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.1411, allocations: 51.39 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.1415, allocations: 316.2 kB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.1415, allocations: 37 kB / 449.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.1416, allocations: 40 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.1424, allocations: 463 kB / 449.7 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1425, allocations: 7.938 kB / 449.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.1425, allocations: 20 kB / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1425, allocations: 12 kB / 449.8 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.1432, allocations: 327.8 kB / 450.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1457, allocations: 1.697 MB / 451.8 MB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.1462, allocations: 241 kB / 452 MB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1463, allocations: 4.25 kB / 452 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1463, allocations: 34.78 kB / 452.1 MB, free: 3.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1463, allocations: 3.938 kB / 452.1 MB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002773/0.1491, allocations: 1.341 MB / 453.4 MB, free: 2.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1491, allocations: 85.05 kB / 453.5 MB, free: 1.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1494, allocations: 262.5 kB / 453.8 MB, free: 1.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1494, allocations: 29.7 kB / 453.8 MB, free: 1.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1496, allocations: 259.4 kB / 454 MB, free: 1.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.1497, allocations: 122.3 kB / 454.2 MB, free: 1.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.1497, allocations: 8 kB / 454.2 MB, free: 1.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1498, allocations: 338.8 kB / 454.5 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.1501, allocations: 112.8 kB / 454.6 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.1504, allocations: 216.2 kB / 454.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.1508, allocations: 131.9 kB / 454.9 MB, free: 432 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1508, allocations: 4 kB / 454.9 MB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007759/0.1515, allocations: 417.5 kB / 455.4 MB, free: 4 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2168/0.3684, allocations: 7.453 kB / 455.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.3685, allocations: 2.25 kB / 455.4 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.3688, allocations: 32.64 kB / 455.4 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.3693, allocations: 115.3 kB / 455.5 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009233/0.3703, allocations: 1.34 MB / 456.8 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3706, allocations: 17.86 kB / 456.9 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3707, allocations: 17.88 kB / 456.9 MB, free: 44.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.3709, allocations: 164 kB / 457 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.371, allocations: 36.11 kB / 457.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.3711, allocations: 38.92 kB / 457.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3711, allocations: 3.031 kB / 457.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3711, allocations: 0 / 457.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3711, allocations: 3.156 kB / 457.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.3717, allocations: 413.6 kB / 457.5 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3717, allocations: 1.562 kB / 457.5 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.3721, allocations: 97.08 kB / 457.6 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.173e-05/0.3722, allocations: 25.06 kB / 457.6 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.3722, allocations: 15.98 kB / 457.7 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006312/0.3728, allocations: 1.334 MB / 459 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3729, allocations: 3.562 kB / 459 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008782/0.3737, allocations: 0.617 MB / 459.6 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3739, allocations: 115.5 kB / 459.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3739, allocations: 11.66 kB / 459.7 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.3742, allocations: 20.58 kB / 459.8 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.3743, allocations: 19.03 kB / 459.8 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3743, allocations: 16.38 kB / 459.8 MB, free: 42.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.3745, allocations: 181.7 kB / 460 MB, free: 42.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3745, allocations: 0 / 460 MB, free: 42.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.3749, allocations: 93.84 kB / 460.1 MB, free: 42.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.753e-05/0.375, allocations: 99.47 kB / 460.2 MB, free: 42.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.3759, allocations: 418.2 kB / 460.6 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3759, allocations: 3.281 kB / 460.6 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.3762, allocations: 252.3 kB / 460.8 MB, free: 42.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3766, allocations: 37.8 kB / 460.9 MB, free: 42.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3781, allocations: 1.107 MB / 462 MB, free: 41.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3784, allocations: 0.8212 MB / 462.8 MB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.3786, allocations: 34.05 kB / 462.8 MB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.3786, allocations: 26.09 kB / 462.8 MB, free: 41.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3787, allocations: 0 / 462.8 MB, free: 41.25 MB / 382.1 MB Notification: Performance of Templates: time 0.006285/0.3849, allocations: 2.702 MB / 465.5 MB, free: 41.08 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches