Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.001733/0.001733, allocations: 106.8 kB / 16.41 MB, free: 6.039 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.002225/0.002225, allocations: 188.4 kB / 17.34 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.201/0.201, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 61.47 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09664, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0015/0.09818, allocations: 499 kB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005969/0.0988, allocations: 254 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.09883, allocations: 0 / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.09885, allocations: 0 / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.09888, allocations: 0 / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.09918, allocations: 55.81 kB / 499.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.09925, allocations: 4 kB / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.0993, allocations: 3.984 kB / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.09932, allocations: 0 / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.189e-05/0.09934, allocations: 0 / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.09936, allocations: 3.938 kB / 499.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.0995, allocations: 63.95 kB / 499.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.09952, allocations: 8 kB / 499.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.09955, allocations: 7.922 kB / 499.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.09967, allocations: 47.94 kB / 500 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.09968, allocations: 0 / 500 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09969, allocations: 0 / 500 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.09969, allocations: 0 / 500 MB, free: 11.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003402/0.1, allocations: 365.2 kB / 0.4886 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1001, allocations: 11.89 kB / 0.4886 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.1001, allocations: 30.75 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.1001, allocations: 0.9375 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1003, allocations: 168.4 kB / 0.4888 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1003, allocations: 4.375 kB / 0.4888 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1003, allocations: 4.312 kB / 0.4888 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.1004, allocations: 34.2 kB / 0.4889 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1004, allocations: 3.938 kB / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1004, allocations: 4 kB / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1004, allocations: 0 / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.1004, allocations: 0 / 0.4889 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.1006, allocations: 145.7 kB / 0.489 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.1006, allocations: 22.59 kB / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.1007, allocations: 8.797 kB / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1007, allocations: 0 / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.1007, allocations: 64.33 kB / 0.4891 GB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1007, allocations: 0 / 0.4891 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.1009, allocations: 59.34 kB / 0.4892 GB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1009, allocations: 89.22 kB / 0.4892 GB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.693e-05/0.101, allocations: 89.86 kB / 0.4893 GB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.101, allocations: 25.7 kB / 0.4894 GB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.101, allocations: 80.14 kB / 0.4894 GB, free: 9.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.101, allocations: 0 / 0.4894 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1011, allocations: 17.72 kB / 0.4894 GB, free: 9.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1012, allocations: 310.8 kB / 0.4897 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.1012, allocations: 3.938 kB / 0.4897 GB, free: 9.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.1012, allocations: 4 kB / 0.4898 GB, free: 9.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.1013, allocations: 60.27 kB / 0.4898 GB, free: 9.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1013, allocations: 3.984 kB / 0.4898 GB, free: 9.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.749e-05/0.1014, allocations: 63.41 kB / 0.4899 GB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1014, allocations: 29.7 kB / 0.4899 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1014, allocations: 7.938 kB / 0.4899 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1014, allocations: 0 / 0.4899 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1014, allocations: 3.938 kB / 0.4899 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1014, allocations: 0 / 0.4899 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.1015, allocations: 8.094 kB / 0.4899 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1015, allocations: 0 / 0.4899 GB, free: 9.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.551e-05/0.1016, allocations: 147.4 kB / 0.4901 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.1016, allocations: 0 / 0.4901 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.1016, allocations: 7.062 kB / 0.4901 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1016, allocations: 0 / 0.4901 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1016, allocations: 0 / 0.4901 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1016, allocations: 3.938 kB / 0.4901 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.197e-05/0.1017, allocations: 149.7 kB / 0.4902 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1017, allocations: 4 kB / 0.4902 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1017, allocations: 0 / 0.4902 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1017, allocations: 3.984 kB / 0.4902 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1018, allocations: 11.92 kB / 0.4902 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1018, allocations: 0 / 0.4902 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1018, allocations: 4 kB / 0.4902 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.109e-05/0.1019, allocations: 86.83 kB / 0.4903 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.1019, allocations: 77.11 kB / 0.4904 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1019, allocations: 11.97 kB / 0.4904 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.1019, allocations: 0 / 0.4904 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.1019, allocations: 0 / 0.4904 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.102, allocations: 0 / 0.4904 GB, free: 8.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.102, allocations: 79.22 kB / 0.4905 GB, free: 8.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.102, allocations: 0 / 0.4905 GB, free: 8.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1022, allocations: 23.98 kB / 0.4905 GB, free: 8.707 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007052/0.1029, allocations: 0.793 MB / 0.4913 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.18e-05/0.103, allocations: 55.41 kB / 0.4913 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1031, allocations: 4.062 kB / 0.4913 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.1031, allocations: 63.34 kB / 0.4914 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.1032, allocations: 0 / 0.4914 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.1035, allocations: 134.4 kB / 0.4915 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1038, allocations: 0.6767 MB / 0.4922 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.345e-06/0.1038, allocations: 3.984 kB / 0.4922 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.1038, allocations: 11.44 kB / 0.4922 GB, free: 6.871 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1038, allocations: 0 / 0.4922 GB, free: 6.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.1208, allocations: 1.611 MB / 0.4938 GB, free: 5.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.079, allocations: 7.594 kB / 0.4938 GB, free: 5.242 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches