Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_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.001031/0.001032, allocations: 103.9 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.001053/0.001053, allocations: 206.4 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.297/1.297, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 77.78 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09569, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003607/0.09934, allocations: 2.487 MB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1009, allocations: 1.082 MB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.101, allocations: 4 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.1022, allocations: 0.5056 MB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1025, allocations: 103.2 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.1033, allocations: 482.1 kB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1036, allocations: 223 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.1041, allocations: 254.8 kB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1043, allocations: 103.6 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1044, allocations: 123.5 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.1045, allocations: 24 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.1048, allocations: 155.8 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.1048, allocations: 47.84 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.105, allocations: 115.5 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.1054, allocations: 402.8 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1054, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1054, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1054, allocations: 0 / 486.2 MB, free: 15.07 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.001167/0.1066, allocations: 0.6125 MB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1066, allocations: 8.031 kB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.1067, allocations: 70.66 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.107, allocations: 56.62 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1071, allocations: 192 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1072, allocations: 16.94 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.1072, allocations: 24.38 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.1077, allocations: 287.5 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1078, allocations: 0 / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1078, allocations: 19.98 kB / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1078, allocations: 4 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.1084, allocations: 225.6 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.1097, allocations: 1.009 MB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.1102, allocations: 383.3 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.1105, allocations: 137.6 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.1107, allocations: 162.2 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1107, allocations: 42.55 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.1107, allocations: 0 / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001145/0.1119, allocations: 0.4995 MB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1119, allocations: 77.11 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1121, allocations: 152.2 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1121, allocations: 29.7 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.1122, allocations: 136.2 kB / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.1122, allocations: 66.95 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.1123, allocations: 37.7 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1124, allocations: 326.8 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1126, allocations: 63.95 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.1128, allocations: 125.8 kB / 490.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.1133, allocations: 209.8 kB / 491.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1133, allocations: 0 / 491.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005931/0.1139, allocations: 285.3 kB / 491.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1139, allocations: 8 kB / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.114, allocations: 0 / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1142, allocations: 53.88 kB / 491.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1143, allocations: 39.91 kB / 491.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.1163, allocations: 2.833 MB / 494.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1164, allocations: 31.84 kB / 494.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1165, allocations: 11.94 kB / 494.4 MB, free: 6.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.1166, allocations: 141.8 kB / 494.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.1167, allocations: 15.81 kB / 494.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.1173, allocations: 264.2 kB / 494.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1173, allocations: 8 kB / 494.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1173, allocations: 112 / 494.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1173, allocations: 3.938 kB / 494.8 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.1184, allocations: 0.6537 MB / 495.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1184, allocations: 0 / 495.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1185, allocations: 43.91 kB / 495.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.1187, allocations: 45.69 kB / 495.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1187, allocations: 8 kB / 495.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.1203, allocations: 2.836 MB / 498.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1204, allocations: 4.031 kB / 498.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/0.1212, allocations: 0.5198 MB / 498.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.1213, allocations: 88.95 kB / 499 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1213, allocations: 8 kB / 499 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1215, allocations: 15.92 kB / 499 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.1215, allocations: 24.05 kB / 499 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1216, allocations: 8 kB / 499 MB, free: 1.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.1216, allocations: 113.2 kB / 499.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1216, allocations: 0 / 499.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000409/0.1221, allocations: 71.78 kB / 499.2 MB, free: 0.8945 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001164/0.1232, allocations: 1.088 MB / 0.4886 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.1239, allocations: 424 kB / 0.489 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.124, allocations: 0 / 0.489 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.1244, allocations: 333.2 kB / 0.4893 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1248, allocations: 15.98 kB / 0.4893 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.1277, allocations: 2.344 MB / 0.4916 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.128, allocations: 0.74 MB / 0.4923 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.126e-05/0.1281, allocations: 13.42 kB / 0.4923 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.1282, allocations: 59.42 kB / 0.4924 GB, free: 11.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1282, allocations: 3.938 kB / 0.4924 GB, free: 11.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4014/0.5296, allocations: 4.322 MB / 0.4966 GB, free: 7.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/9.99, allocations: 14.78 kB / 0.4966 GB, free: 7.445 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches