Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008139/0.0008139, allocations: 95.66 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009025/0.0009025, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.131/1.131, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1631/0.1631, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002301, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08611, allocations: 63.57 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002114/0.08825, allocations: 2.163 MB / 485.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.08923, allocations: 0.8258 MB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.08932, allocations: 3.938 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.08947, allocations: 43.7 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.08968, allocations: 91.44 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.08987, allocations: 87.89 kB / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.09014, allocations: 334.7 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.09028, allocations: 81.41 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.09046, allocations: 123.5 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.0906, allocations: 139.3 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.09064, allocations: 16 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.0907, allocations: 27.98 kB / 487 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.09075, allocations: 51.75 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.09086, allocations: 164.8 kB / 487.2 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.09114, allocations: 354.6 kB / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.09115, allocations: 0 / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09116, allocations: 0 / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.09116, allocations: 0 / 487.6 MB, free: 15.67 MB / 366.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.000802/0.09197, allocations: 0.5846 MB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.09201, allocations: 12.88 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.09212, allocations: 40.56 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.09235, allocations: 270.6 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.09237, allocations: 16.94 kB / 488.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.09241, allocations: 24.38 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.09284, allocations: 253.2 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.09286, allocations: 0 / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.09289, allocations: 12 kB / 488.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.0929, allocations: 8 kB / 488.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.09336, allocations: 242.1 kB / 489 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.0945, allocations: 0.8793 MB / 489.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.09498, allocations: 322.6 kB / 490.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.09523, allocations: 140.8 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.09526, allocations: 4 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.09529, allocations: 38.56 kB / 490.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.263e-06/0.0953, allocations: 4 kB / 490.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004099/0.0994, allocations: 1.285 MB / 491.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.09944, allocations: 55.39 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.09963, allocations: 233 kB / 491.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.09966, allocations: 33.64 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.09975, allocations: 169.1 kB / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.09982, allocations: 106.5 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.09986, allocations: 29.7 kB / 492.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.09996, allocations: 342.8 kB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1002, allocations: 107.8 kB / 492.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1004, allocations: 125.8 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.1008, allocations: 239.3 kB / 493.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1008, allocations: 0 / 493.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001579/0.1024, allocations: 0.5605 MB / 493.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1024, allocations: 8 kB / 493.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1024, allocations: 0 / 493.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.1039, allocations: 323.1 kB / 494 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.104, allocations: 27.97 kB / 494 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.1097, allocations: 6.351 MB / 0.4886 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1099, allocations: 27.78 kB / 0.4886 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1099, allocations: 8 kB / 0.4886 GB, free: 1.953 MB / 366.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.000116/0.1101, allocations: 149.7 kB / 0.4888 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.1101, allocations: 31.78 kB / 0.4888 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.1117, allocations: 0.5541 MB / 0.4894 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1117, allocations: 4 kB / 0.4894 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1118, allocations: 7.922 kB / 0.4894 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1118, allocations: 0 / 0.4894 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.1121, allocations: 361.1 kB / 0.4897 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1121, allocations: 0 / 0.4897 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1122, allocations: 23.92 kB / 0.4897 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.1136, allocations: 323.3 kB / 0.49 GB, free: 440 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1136, allocations: 4 kB / 0.49 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005978/0.1196, allocations: 6.385 MB / 0.4963 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1196, allocations: 3.938 kB / 0.4963 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.1212, allocations: 0.6322 MB / 0.4969 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1213, allocations: 108.7 kB / 0.497 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1213, allocations: 8 kB / 0.497 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1215, allocations: 11.98 kB / 0.497 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.1216, allocations: 43.89 kB / 0.4971 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1216, allocations: 4 kB / 0.4971 GB, free: 8.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1217, allocations: 174 kB / 0.4972 GB, free: 8.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1217, allocations: 0 / 0.4972 GB, free: 8.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.1221, allocations: 119.8 kB / 0.4974 GB, free: 8.363 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 8.563e-05/0.1222, allocations: 95.25 kB / 0.4974 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008519/0.1231, allocations: 0.7602 MB / 0.4982 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1231, allocations: 0 / 0.4982 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.1241, allocations: 0.725 MB / 0.4989 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.1244, allocations: 27.08 kB / 0.4989 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.1253, allocations: 0.691 MB / 0.4996 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1256, allocations: 0.7795 MB / 0.5004 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.1256, allocations: 5.969 kB / 0.5004 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1257, allocations: 11.44 kB / 0.5004 GB, free: 5.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1257, allocations: 4 kB / 0.5004 GB, free: 5.105 MB / 382.1 MB Notification: Performance of Templates: time 0.1587/0.2843, allocations: 7.432 MB / 0.5076 GB, free: 39.33 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches