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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007831/0.0007832, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003094, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 63.56 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00266/0.1099, allocations: 2.174 MB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1114, allocations: 0.8218 MB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1115, allocations: 4 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1118, allocations: 43.69 kB / 486.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1121, allocations: 95.44 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1124, allocations: 83.91 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.1127, allocations: 334.7 kB / 486.7 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1129, allocations: 85.36 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.1132, allocations: 123.5 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1134, allocations: 139.3 kB / 487.1 MB, free: 124 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1135, allocations: 16 kB / 487.1 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.1135, allocations: 24 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1136, allocations: 47.77 kB / 487.2 MB, free: 36 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.1137, allocations: 168.8 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.1141, allocations: 350.6 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1141, allocations: 4 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1141, allocations: 0 / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1141, allocations: 4 kB / 487.7 MB, free: 15.51 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.0009876/0.1151, allocations: 0.5768 MB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1152, allocations: 12.88 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.1152, allocations: 66.66 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1154, allocations: 32.56 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1157, allocations: 266.7 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1157, allocations: 16.94 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.1158, allocations: 24.38 kB / 488.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.1163, allocations: 261 kB / 488.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1163, allocations: 3.938 kB / 488.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1163, allocations: 12 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1163, allocations: 4 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.1169, allocations: 242.1 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1183, allocations: 0.8947 MB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.1189, allocations: 302.7 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1192, allocations: 156.8 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1192, allocations: 4 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/0.1193, allocations: 38.5 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.1193, allocations: 0 / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004554/0.1239, allocations: 1.278 MB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1239, allocations: 63.33 kB / 491.9 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1242, allocations: 233 kB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1242, allocations: 29.7 kB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1243, allocations: 177 kB / 492.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.1244, allocations: 106.4 kB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.1244, allocations: 33.7 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1246, allocations: 330.8 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.1248, allocations: 103.8 kB / 492.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1251, allocations: 129.8 kB / 493 MB, free: 9.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.1255, allocations: 239.3 kB / 493.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1255, allocations: 4 kB / 493.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001817/0.1274, allocations: 0.5567 MB / 493.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1274, allocations: 11.94 kB / 493.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1274, allocations: 0 / 493.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.1291, allocations: 315.1 kB / 494.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1293, allocations: 23.98 kB / 494.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.1366, allocations: 6.352 MB / 0.4888 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.1369, allocations: 31.77 kB / 0.4888 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.1369, allocations: 12.06 kB / 0.4888 GB, free: 1.73 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.000184/0.1371, allocations: 145.7 kB / 0.4889 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1372, allocations: 27.66 kB / 0.489 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.139, allocations: 0.558 MB / 0.4895 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.139, allocations: 11.92 kB / 0.4895 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.139, allocations: 0 / 0.4895 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1391, allocations: 3.938 kB / 0.4895 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1395, allocations: 373.2 kB / 0.4899 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1395, allocations: 0 / 0.4899 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1396, allocations: 19.98 kB / 0.4899 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.1412, allocations: 315.2 kB / 0.4902 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1412, allocations: 4 kB / 0.4902 GB, free: 208 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.1481, allocations: 6.385 MB / 0.4964 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1481, allocations: 4.344 kB / 0.4965 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.1499, allocations: 0.64 MB / 0.4971 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.15, allocations: 104.7 kB / 0.4972 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.15, allocations: 8 kB / 0.4972 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.1503, allocations: 15.98 kB / 0.4972 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1504, allocations: 31.95 kB / 0.4972 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1504, allocations: 8 kB / 0.4972 GB, free: 8.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1506, allocations: 170 kB / 0.4974 GB, free: 8.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1506, allocations: 0 / 0.4974 GB, free: 8.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005062/0.1511, allocations: 127.8 kB / 0.4975 GB, free: 8.133 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 0.002081/0.1532, allocations: 1.164 MB / 0.4987 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1544, allocations: 0.7602 MB / 0.4994 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1544, allocations: 0 / 0.4994 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.1557, allocations: 0.7177 MB / 0.5001 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.156, allocations: 30.58 kB / 0.5001 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/0.1622, allocations: 3.321 MB / 0.5034 GB, free: 1.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1626, allocations: 0.7794 MB / 0.5041 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.1626, allocations: 9.953 kB / 0.5041 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1628, allocations: 83.41 kB / 0.5042 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1628, allocations: 0 / 0.5042 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.198/0.3608, allocations: 9.972 MB / 0.514 GB, free: 38.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.361, allocations: 235.7 kB / 0.5142 GB, free: 38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.647, allocations: 4.875 kB / 0.5142 GB, free: 38 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches