Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",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.001129/0.001129, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.00124/0.00124, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.349/1.349, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2062/0.2062, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 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.001539/0.001539, allocations: 70.45 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09973, allocations: 57.78 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001725/0.1015, allocations: 485.4 kB / 441.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1041, allocations: 2.312 MB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1041, allocations: 0 / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1042, allocations: 0 / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.1042, allocations: 7.875 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.1064, allocations: 1.125 MB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.1065, allocations: 4 kB / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.1065, allocations: 3.984 kB / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.1065, allocations: 0 / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.1065, allocations: 3.938 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.692e-06/0.1066, allocations: 0 / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1077, allocations: 0.9638 MB / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.1077, allocations: 0 / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.1077, allocations: 4 kB / 445.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.1081, allocations: 419.4 kB / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1082, allocations: 0 / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1082, allocations: 3.984 kB / 445.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1082, allocations: 3.938 kB / 445.9 MB, free: 1.492 MB / 318.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.0003001/0.1085, allocations: 437.3 kB / 446.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1085, allocations: 11.89 kB / 446.4 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.219e-05/0.1086, allocations: 30.75 kB / 446.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.1086, allocations: 4.922 kB / 446.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.52e-05/0.1086, allocations: 160.4 kB / 446.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1087, allocations: 4.375 kB / 446.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.1087, allocations: 4.375 kB / 446.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.173e-05/0.1087, allocations: 29.83 kB / 446.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1088, allocations: 3.938 kB / 446.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.1088, allocations: 0 / 446.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1088, allocations: 4 kB / 446.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.1088, allocations: 0 / 446.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.154e-05/0.1089, allocations: 153.6 kB / 446.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.899e-05/0.1089, allocations: 26.59 kB / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.08e-05/0.1089, allocations: 4.859 kB / 446.8 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.1089, allocations: 0 / 446.8 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.109, allocations: 60.2 kB / 446.8 MB, free: 404 kB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.109, allocations: 64 / 446.8 MB, free: 404 kB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.1091, allocations: 71.33 kB / 446.9 MB, free: 320 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.1091, allocations: 81.11 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.755e-05/0.1092, allocations: 93.98 kB / 447.1 MB, free: 116 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.1092, allocations: 25.7 kB / 447.1 MB, free: 84 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.976e-06/0.1092, allocations: 80.14 kB / 447.2 MB, free: 0 / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1092, allocations: 0 / 447.2 MB, free: 0 / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1093, allocations: 17.84 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1094, allocations: 314.8 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.1094, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1094, allocations: 3.984 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.1095, allocations: 64.33 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1095, allocations: 4 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.406e-05/0.1095, allocations: 63.34 kB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.1096, allocations: 37.64 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1096, allocations: 3.984 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1096, allocations: 4 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1096, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1096, allocations: 3.984 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.1097, allocations: 0 / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1097, allocations: 0 / 447.7 MB, free: 15.44 MB / 334.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 7.83e-05/0.1098, allocations: 143.5 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.1098, allocations: 3.938 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-06/0.1098, allocations: 3.125 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.1098, allocations: 0 / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1098, allocations: 0 / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.1098, allocations: 0 / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.468e-05/0.1099, allocations: 149.7 kB / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1099, allocations: 0 / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1099, allocations: 0 / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1099, allocations: 7.938 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1099, allocations: 0 / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1099, allocations: 0 / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1099, allocations: 3.938 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.1101, allocations: 94.77 kB / 448.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.1101, allocations: 81.05 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1101, allocations: 4 kB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.1101, allocations: 4.031 kB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1101, allocations: 4 kB / 448.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1102, allocations: 3.984 kB / 448.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.56e-05/0.1102, allocations: 75.28 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1102, allocations: 0 / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000428/0.1106, allocations: 135.9 kB / 448.4 MB, free: 14.64 MB / 334.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.0008945/0.1115, allocations: 0.8832 MB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.1116, allocations: 67.33 kB / 449.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1116, allocations: 0 / 449.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.1117, allocations: 55.41 kB / 449.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.1118, allocations: 6.812 kB / 449.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.1122, allocations: 174.5 kB / 449.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1124, allocations: 0.6729 MB / 450.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.911e-06/0.1124, allocations: 0 / 450.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1125, allocations: 7.438 kB / 450.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1125, allocations: 3.938 kB / 450.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1363, allocations: 5.296 MB / 455.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.142, allocations: 12.81 kB / 455.6 MB, free: 7.352 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches