Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.8 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 44.18 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.61 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003102/0.1159, allocations: 1.769 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.1161, allocations: 83.66 kB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.1161, allocations: 4 kB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.1162, allocations: 7.922 kB / 470.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.1163, allocations: 19.84 kB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.1164, allocations: 27.98 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1166, allocations: 99.58 kB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.1168, allocations: 55.8 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.1169, allocations: 43.84 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.117, allocations: 43.78 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1171, allocations: 8 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.1171, allocations: 8 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1172, allocations: 27.91 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.1172, allocations: 43.8 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1174, allocations: 111.9 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1174, allocations: 0 / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1174, allocations: 0 / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1174, allocations: 4 kB / 471 MB, free: 12.38 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.0006463/0.118, allocations: 415.2 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1181, allocations: 12.02 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.1181, allocations: 46.75 kB / 471.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1182, allocations: 8.844 kB / 471.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1183, allocations: 180.2 kB / 471.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1183, allocations: 8.375 kB / 471.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1183, allocations: 8.375 kB / 471.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.1187, allocations: 121.8 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1187, allocations: 3.938 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1187, allocations: 8 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1187, allocations: 4 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1191, allocations: 115.6 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.1198, allocations: 475.3 kB / 472.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.1202, allocations: 78.53 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.1204, allocations: 72.92 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1205, allocations: 3.984 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1205, allocations: 34.5 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1205, allocations: 3.938 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008032/0.1213, allocations: 267.4 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1214, allocations: 59.41 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.1215, allocations: 117.8 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1215, allocations: 25.7 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.1215, allocations: 108.1 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.1216, allocations: 23.73 kB / 473.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1216, allocations: 17.72 kB / 473.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.1217, allocations: 314.8 kB / 473.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1219, allocations: 35.95 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1221, allocations: 66.47 kB / 473.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.1224, allocations: 98.44 kB / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1224, allocations: 0 / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004088/0.1228, allocations: 150.6 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1228, allocations: 4 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1228, allocations: 0 / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.123, allocations: 24.84 kB / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1231, allocations: 19.98 kB / 473.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009262/0.124, allocations: 1.304 MB / 475.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1242, allocations: 16.02 kB / 475.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1242, allocations: 4 kB / 475.2 MB, free: 7.754 MB / 350.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.864e-05/0.1243, allocations: 117.9 kB / 475.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1243, allocations: 3.906 kB / 475.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.1243, allocations: 20.3 kB / 475.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1243, allocations: 0 / 475.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.1243, allocations: 0 / 475.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1243, allocations: 0 / 475.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.125, allocations: 436.1 kB / 475.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.125, allocations: 0 / 475.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/0.1251, allocations: 19.92 kB / 475.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1252, allocations: 28.83 kB / 475.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1252, allocations: 0 / 475.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008141/0.126, allocations: 1.311 MB / 477.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1261, allocations: 7.969 kB / 477.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1265, allocations: 233.2 kB / 477.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1265, allocations: 88.95 kB / 477.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1266, allocations: 0 / 477.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1267, allocations: 23.97 kB / 477.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1267, allocations: 11.94 kB / 477.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1268, allocations: 0 / 477.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.068e-05/0.1268, allocations: 95.27 kB / 477.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1268, allocations: 0 / 477.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1271, allocations: 27.88 kB / 477.6 MB, free: 5.102 MB / 350.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.0006582/0.1277, allocations: 0.773 MB / 478.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.1282, allocations: 206.8 kB / 478.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1282, allocations: 0 / 478.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.1285, allocations: 162.6 kB / 478.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1288, allocations: 12.27 kB / 478.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1308, allocations: 1.634 MB / 480.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.131, allocations: 0.6965 MB / 481 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.953e-05/0.1311, allocations: 0 / 481 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1311, allocations: 23.44 kB / 481.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1311, allocations: 0 / 481.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.1442, allocations: 2.065 MB / 483.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1444, allocations: 229.1 kB / 483.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.871, allocations: 3.938 kB / 483.4 MB, free: 15.22 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches