Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001179, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 74.03 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1126, allocations: 62.44 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00327/0.1159, allocations: 1.735 MB / 481.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.1162, allocations: 79.73 kB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.1162, allocations: 0 / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.706e-05/0.1163, allocations: 11.86 kB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.1164, allocations: 23.78 kB / 482 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.1165, allocations: 27.97 kB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1167, allocations: 111.6 kB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.1169, allocations: 51.95 kB / 482.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.117, allocations: 43.86 kB / 482.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.1171, allocations: 51.77 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1171, allocations: 8 kB / 482.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.1172, allocations: 12 kB / 482.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.1172, allocations: 23.92 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.1173, allocations: 51.78 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1174, allocations: 115.9 kB / 482.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1174, allocations: 4 kB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1175, allocations: 4 kB / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1175, allocations: 0 / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006512/0.1181, allocations: 419.1 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1182, allocations: 12.03 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.1182, allocations: 46.73 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1183, allocations: 12.84 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1184, allocations: 176.2 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1184, allocations: 8.375 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1185, allocations: 8.375 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1188, allocations: 130 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1188, allocations: 3.938 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1188, allocations: 4 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1188, allocations: 4 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.1192, allocations: 107 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.1198, allocations: 475.3 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1201, allocations: 82.47 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.1203, allocations: 68.88 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1204, allocations: 7.938 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1204, allocations: 34.5 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.572e-06/0.1204, allocations: 4 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008706/0.1213, allocations: 271.4 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1213, allocations: 55.39 kB / 484.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1215, allocations: 121.8 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1215, allocations: 25.7 kB / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.1216, allocations: 108.1 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1216, allocations: 15.75 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.1217, allocations: 21.7 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1218, allocations: 322.8 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.122, allocations: 35.95 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1222, allocations: 54.53 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.1225, allocations: 102.4 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1225, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004087/0.1229, allocations: 154.3 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.123, allocations: 8 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.123, allocations: 0 / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.1231, allocations: 24.84 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1232, allocations: 20.23 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/0.1242, allocations: 1.403 MB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.1243, allocations: 16.08 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.1244, allocations: 8 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.1245, allocations: 117.8 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1245, allocations: 7.844 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.1246, allocations: 16.36 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1246, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1246, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1246, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.1252, allocations: 428 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1252, allocations: 0 / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.1253, allocations: 15.98 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.027e-05/0.1254, allocations: 33 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1254, allocations: 3.938 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00089/0.1263, allocations: 1.398 MB / 488.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1263, allocations: 0 / 488.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.1267, allocations: 249.1 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1268, allocations: 89 kB / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1268, allocations: 0 / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1269, allocations: 11.98 kB / 489.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.127, allocations: 11.98 kB / 489.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.127, allocations: 3.938 kB / 489.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.1271, allocations: 99.2 kB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1271, allocations: 0 / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1273, allocations: 31.94 kB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006899/0.128, allocations: 0.7643 MB / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1285, allocations: 206.5 kB / 490.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1285, allocations: 0 / 490.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.1288, allocations: 166.7 kB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1291, allocations: 16.84 kB / 490.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.131, allocations: 1.59 MB / 492 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1313, allocations: 0.7002 MB / 492.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.1313, allocations: 4 kB / 492.7 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.1314, allocations: 27.42 kB / 492.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1314, allocations: 0 / 492.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.1516, allocations: 2.306 MB / 495 MB, free: 5.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.223/9.374, allocations: 5.906 kB / 495 MB, free: 5.535 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches