Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008324/0.0008323, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009353/0.0009355, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 46.19 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002432, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00288/0.1067, allocations: 2.365 MB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1078, allocations: 0.7598 MB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1079, allocations: 8 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1081, allocations: 59.61 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1083, allocations: 91.31 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1085, allocations: 91.91 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1089, allocations: 390.5 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.1091, allocations: 129.1 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1092, allocations: 123.5 kB / 487.2 MB, free: 24 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1094, allocations: 151.2 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.1095, allocations: 16 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.1095, allocations: 20 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.1096, allocations: 59.7 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1098, allocations: 196.7 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1101, allocations: 394.4 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1101, allocations: 0 / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1101, allocations: 4 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1102, allocations: 4 kB / 488 MB, free: 15.19 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009721/0.1111, allocations: 0.6201 MB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1112, allocations: 15.97 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/0.1113, allocations: 66.72 kB / 488.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.1113, allocations: 44.38 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1116, allocations: 282.6 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1117, allocations: 25.36 kB / 489 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.1117, allocations: 32.38 kB / 489.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.1124, allocations: 378 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1124, allocations: 0 / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1124, allocations: 16 kB / 489.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1125, allocations: 8 kB / 489.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.1131, allocations: 287.8 kB / 489.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.115, allocations: 1.369 MB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.1155, allocations: 206.5 kB / 491.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.1158, allocations: 95.45 kB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1158, allocations: 4 kB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1158, allocations: 46.5 kB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1158, allocations: 0 / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007849/0.1166, allocations: 277.2 kB / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.1167, allocations: 140.4 kB / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.117, allocations: 337.6 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1171, allocations: 29.7 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1172, allocations: 235.6 kB / 492.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1173, allocations: 59.19 kB / 492.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1173, allocations: 33.73 kB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1174, allocations: 346.7 kB / 492.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1177, allocations: 88.5 kB / 493 MB, free: 9.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.118, allocations: 180.2 kB / 493.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.1185, allocations: 274.9 kB / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1185, allocations: 0 / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006604/0.1192, allocations: 333.1 kB / 493.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1192, allocations: 4 kB / 493.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1192, allocations: 4 kB / 493.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1193, allocations: 4.297 kB / 493.8 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1197, allocations: 111.8 kB / 493.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1197, allocations: 4 kB / 493.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.12, allocations: 51.67 kB / 493.9 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.12, allocations: 8 kB / 493.9 MB, free: 8.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1201, allocations: 153.7 kB / 494.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.1202, allocations: 31.62 kB / 494.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.1203, allocations: 34.41 kB / 494.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1203, allocations: 4 kB / 494.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1203, allocations: 0 / 494.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1203, allocations: 7.938 kB / 494.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/0.1211, allocations: 0.5914 MB / 494.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1211, allocations: 4 kB / 494.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.1214, allocations: 76.03 kB / 494.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1214, allocations: 4.562 kB / 494.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1214, allocations: 7.938 kB / 494.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1214, allocations: 7.922 kB / 494.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1214, allocations: 4 kB / 494.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.122, allocations: 422.5 kB / 495.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.1221, allocations: 108.7 kB / 495.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1221, allocations: 11.94 kB / 495.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.1224, allocations: 23.98 kB / 495.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.1224, allocations: 19.91 kB / 495.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1225, allocations: 4 kB / 495.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.1227, allocations: 235.2 kB / 495.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1227, allocations: 0 / 495.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.1231, allocations: 71.84 kB / 495.7 MB, free: 6.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000801/0.1239, allocations: 0.9525 MB / 496.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005386/0.1244, allocations: 215.8 kB / 496.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1244, allocations: 0 / 496.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1247, allocations: 100.5 kB / 497 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1251, allocations: 21.44 kB / 497 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.129, allocations: 3.209 MB / 0.4885 GB, free: 2.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1293, allocations: 0.7714 MB / 0.4892 GB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1294, allocations: 30.11 kB / 0.4893 GB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1296, allocations: 103.4 kB / 0.4894 GB, free: 1.246 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1296, allocations: 0 / 0.4894 GB, free: 1.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.1435, allocations: 4.454 MB / 0.4937 GB, free: 12.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.1437, allocations: 197.6 kB / 0.4939 GB, free: 12.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.101, allocations: 3.25 kB / 0.4939 GB, free: 12.65 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches