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.001502/0.001502, allocations: 99.84 kB / 15.98 MB, free: 6.352 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.001527/0.001527, allocations: 189.6 kB / 16.91 MB, free: 6.191 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.737/1.737, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.3245/0.3245, allocations: 43.49 MB / 313.6 MB, free: 8.293 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.001329/0.001329, allocations: 64.47 kB / 382.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 57.78 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003807/0.1258, allocations: 2.446 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1276, allocations: 0.8032 MB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1278, allocations: 4 kB / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1281, allocations: 47.69 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1284, allocations: 83.44 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1286, allocations: 79.92 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.129, allocations: 354.7 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1292, allocations: 92.69 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1294, allocations: 127.6 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1296, allocations: 159.3 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.1296, allocations: 28 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.1297, allocations: 31.94 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.1298, allocations: 63.83 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1299, allocations: 159.1 kB / 444.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1302, allocations: 359 kB / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1302, allocations: 0 / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1302, allocations: 0 / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1302, allocations: 0 / 444.8 MB, free: 9.66 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.001023/0.1313, allocations: 0.608 MB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1313, allocations: 11.89 kB / 445.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.1314, allocations: 32.56 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1317, allocations: 263.6 kB / 445.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1317, allocations: 24.94 kB / 445.7 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.1317, allocations: 24.38 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.1322, allocations: 253.1 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1322, allocations: 0 / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1323, allocations: 12 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1323, allocations: 7.938 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.1327, allocations: 230.1 kB / 446.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1341, allocations: 0.8676 MB / 447.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1346, allocations: 310 kB / 447.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.1349, allocations: 156.7 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.1349, allocations: 4 kB / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.135, allocations: 38.56 kB / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.212e-06/0.135, allocations: 4 kB / 447.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004293/0.1393, allocations: 1.25 MB / 448.9 MB, free: 5.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1393, allocations: 55.41 kB / 448.9 MB, free: 5.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1395, allocations: 220.9 kB / 449.1 MB, free: 5.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1395, allocations: 29.7 kB / 449.2 MB, free: 4.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.1396, allocations: 161.2 kB / 449.3 MB, free: 4.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.1397, allocations: 106.4 kB / 449.4 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.1398, allocations: 57.56 kB / 449.5 MB, free: 4.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1399, allocations: 330.8 kB / 449.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.1401, allocations: 91.95 kB / 449.9 MB, free: 4.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.1404, allocations: 125.9 kB / 450 MB, free: 4.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.1408, allocations: 231.2 kB / 450.2 MB, free: 3.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1408, allocations: 4 kB / 450.3 MB, free: 3.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001705/0.1425, allocations: 0.5363 MB / 450.8 MB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1426, allocations: 4 kB / 450.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1426, allocations: 0 / 450.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.1442, allocations: 319.1 kB / 451.1 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1444, allocations: 27.97 kB / 451.1 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1919/0.3363, allocations: 6.819 MB / 458 MB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3366, allocations: 30.7 kB / 458 MB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3366, allocations: 9.75 kB / 458 MB, free: 44.87 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.3368, allocations: 148.3 kB / 458.1 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.3368, allocations: 25.59 kB / 458.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.3384, allocations: 0.5429 MB / 458.7 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3384, allocations: 6.234 kB / 458.7 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3384, allocations: 0 / 458.7 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3385, allocations: 0 / 458.7 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.3388, allocations: 357.6 kB / 459.1 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3388, allocations: 1.969 kB / 459.1 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3389, allocations: 20.97 kB / 459.1 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.3403, allocations: 313.4 kB / 459.4 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3404, allocations: 6.312 kB / 459.4 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.3458, allocations: 6.897 MB / 466.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3458, allocations: 7.062 kB / 466.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3473, allocations: 0.6177 MB / 466.9 MB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.3474, allocations: 101 kB / 467 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3474, allocations: 13.97 kB / 467 MB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3476, allocations: 6.938 kB / 467 MB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3477, allocations: 30.94 kB / 467.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3477, allocations: 9.656 kB / 467.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3479, allocations: 159.7 kB / 467.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.143e-06/0.3479, allocations: 0 / 467.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.3483, allocations: 126.4 kB / 467.4 MB, free: 38.3 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.422e-05/0.3484, allocations: 100.7 kB / 467.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009142/0.3494, allocations: 0.7687 MB / 468.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3494, allocations: 0 / 468.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3504, allocations: 0.7294 MB / 468.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.3507, allocations: 23.42 kB / 469 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.3516, allocations: 0.6495 MB / 469.6 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3518, allocations: 0.771 MB / 470.4 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.529e-05/0.3519, allocations: 8.922 kB / 470.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.3519, allocations: 20.91 kB / 470.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3519, allocations: 0 / 470.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of Templates: time 0.01075/0.3627, allocations: 7.937 MB / 478.4 MB, free: 35.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (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) 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