Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 92.91 kB / 15.69 MB, free: 488 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.0009778/0.0009778, allocations: 178.3 kB / 16.57 MB, free: 6.379 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.673/1.673, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3978/0.3978, allocations: 43.55 MB / 314.5 MB, free: 8.746 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.0005389/0.0005389, allocations: 15.98 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 58.86 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002542/0.1338, allocations: 1.919 MB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1352, allocations: 0.7727 MB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1354, allocations: 7.938 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.1356, allocations: 35.77 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1359, allocations: 99.67 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1362, allocations: 75.8 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1366, allocations: 211.6 kB / 445.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.1368, allocations: 73.12 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000515/0.1374, allocations: 115.6 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1376, allocations: 135.4 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.1377, allocations: 20 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.003e-05/0.1377, allocations: 16 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.1378, allocations: 51.75 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.1379, allocations: 73.58 kB / 446.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1382, allocations: 259.5 kB / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1382, allocations: 0 / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1382, allocations: 0 / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1382, allocations: 0 / 446.6 MB, free: 9.207 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001102/0.1394, allocations: 0.5651 MB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1394, allocations: 19.97 kB / 447.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1395, allocations: 35.48 kB / 447.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.1399, allocations: 254.5 kB / 447.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1399, allocations: 20.56 kB / 447.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.14, allocations: 20 kB / 447.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.1405, allocations: 252.8 kB / 447.7 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1406, allocations: 0 / 447.7 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.1406, allocations: 8 kB / 447.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.1406, allocations: 8 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.1413, allocations: 246 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1428, allocations: 0.8715 MB / 448.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.1436, allocations: 346.8 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.1436, allocations: 4 kB / 449.2 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1437, allocations: 39.09 kB / 449.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.626e-06/0.1437, allocations: 4 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004307/0.148, allocations: 1.25 MB / 450.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1481, allocations: 55.41 kB / 450.6 MB, free: 4.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1483, allocations: 213 kB / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1484, allocations: 33.7 kB / 450.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1485, allocations: 161 kB / 451 MB, free: 4.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.1486, allocations: 118.3 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.1486, allocations: 4 kB / 451.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1487, allocations: 334.8 kB / 451.4 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.149, allocations: 103.8 kB / 451.5 MB, free: 3.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1492, allocations: 129.7 kB / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.1495, allocations: 113.3 kB / 451.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1495, allocations: 3.953 kB / 451.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001589/0.1511, allocations: 0.5484 MB / 452.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1511, allocations: 4 kB / 452.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1511, allocations: 0 / 452.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.1527, allocations: 319.1 kB / 452.6 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1529, allocations: 31.92 kB / 452.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2047/0.3576, allocations: 6.391 MB / 459 MB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3579, allocations: 38.27 kB / 459.1 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.358, allocations: 9.094 kB / 459.1 MB, free: 42.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.3582, allocations: 136.9 kB / 459.2 MB, free: 42.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.3583, allocations: 26.02 kB / 459.2 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.3599, allocations: 0.5659 MB / 459.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.36, allocations: 5.156 kB / 459.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.36, allocations: 0 / 459.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.36, allocations: 3.953 kB / 459.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.3604, allocations: 355.9 kB / 460.2 MB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3605, allocations: 0 / 460.2 MB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3606, allocations: 22.36 kB / 460.2 MB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.362, allocations: 319.5 kB / 460.5 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.3621, allocations: 6.062 kB / 460.5 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005796/0.3679, allocations: 6.444 MB / 466.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3679, allocations: 0 / 466.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3694, allocations: 0.6294 MB / 467.6 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3695, allocations: 104.6 kB / 467.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.3695, allocations: 7.641 kB / 467.7 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3697, allocations: 19.33 kB / 467.7 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3698, allocations: 31.53 kB / 467.7 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3699, allocations: 5.125 kB / 467.7 MB, free: 36.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.37, allocations: 156.2 kB / 467.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.37, allocations: 0 / 467.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.3705, allocations: 127.8 kB / 468 MB, free: 36.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.3706, allocations: 100.6 kB / 468.1 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009925/0.3716, allocations: 0.7558 MB / 468.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3717, allocations: 1.875 kB / 468.9 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009732/0.3726, allocations: 0.7225 MB / 469.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3729, allocations: 18.59 kB / 469.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.3738, allocations: 0.6349 MB / 470.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.374, allocations: 0.7786 MB / 471 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.65e-05/0.3741, allocations: 11.75 kB / 471 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.3741, allocations: 10.38 kB / 471 MB, free: 34.49 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3742, allocations: 2.844 kB / 471 MB, free: 34.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01091/0.3851, allocations: 7.21 MB / 478.3 MB, free: 34.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches