Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",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.001564/0.001564, allocations: 101.9 kB / 16.4 MB, free: 6.461 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.001792/0.001792, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.215/1.215, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.1826/0.1826, allocations: 43.52 MB / 314.1 MB, free: 444 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.00135/0.001351, allocations: 63.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08525/0.08661, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003206/0.08985, allocations: 2.534 MB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.09077, allocations: 0.6397 MB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.09088, allocations: 4 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.09103, allocations: 43.58 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.09117, allocations: 75.33 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.09141, allocations: 63.91 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.09168, allocations: 290.8 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.09185, allocations: 84.58 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.092, allocations: 119.6 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.09214, allocations: 123.4 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.09219, allocations: 24 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/0.09223, allocations: 24 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.09228, allocations: 47.84 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.09239, allocations: 127.4 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.09266, allocations: 278.8 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.09267, allocations: 0 / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09268, allocations: 0 / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.09269, allocations: 0 / 0.4917 GB, free: 7.824 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007227/0.09342, allocations: 0.5378 MB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.09346, allocations: 11.89 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.09352, allocations: 58.73 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.09358, allocations: 28.8 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.09389, allocations: 252.4 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.09391, allocations: 12.81 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.09396, allocations: 20.38 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.09431, allocations: 199.4 kB / 0.4928 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.09433, allocations: 0 / 0.4928 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.09435, allocations: 4 kB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.09437, allocations: 11.98 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.09463, allocations: 141.7 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.0958, allocations: 0.8066 MB / 0.4937 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.09598, allocations: 94.48 kB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.09609, allocations: 49.03 kB / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.09611, allocations: 7.875 kB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.09614, allocations: 38.56 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.09615, allocations: 0 / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001639/0.09779, allocations: 0.7215 MB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.09784, allocations: 59.39 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.09803, allocations: 211.8 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.09806, allocations: 29.7 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.09816, allocations: 172.1 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.09821, allocations: 59.48 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.09829, allocations: 41.66 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.0984, allocations: 334.8 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.09855, allocations: 59.97 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.09871, allocations: 105.1 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.09899, allocations: 177 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.099, allocations: 0 / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004845/0.09949, allocations: 279.1 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.09952, allocations: 11.98 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09953, allocations: 0 / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.09976, allocations: 69.69 kB / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.09993, allocations: 31.97 kB / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.1021, allocations: 3.013 MB / 0.4991 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1023, allocations: 12.02 kB / 0.4992 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1023, allocations: 8 kB / 0.4992 GB, free: 15.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.1024, allocations: 142 kB / 0.4993 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.1025, allocations: 23.86 kB / 0.4993 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.1025, allocations: 25.86 kB / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1025, allocations: 0 / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1025, allocations: 4 kB / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1025, allocations: 0 / 0.4993 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1028, allocations: 290 kB / 0.4996 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1028, allocations: 4 kB / 0.4996 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.1029, allocations: 19.98 kB / 0.4996 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.1031, allocations: 69.61 kB / 0.4997 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1031, allocations: 4 kB / 0.4997 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.1052, allocations: 3.001 MB / 0.5026 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1052, allocations: 0 / 0.5026 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.1058, allocations: 408.7 kB / 0.503 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.1059, allocations: 89.05 kB / 0.5031 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1059, allocations: 8 kB / 0.5031 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1061, allocations: 15.92 kB / 0.5031 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1061, allocations: 24.17 kB / 0.5032 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1062, allocations: 7.984 kB / 0.5032 GB, free: 11.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1063, allocations: 153.5 kB / 0.5033 GB, free: 10.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1063, allocations: 0 / 0.5033 GB, free: 10.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000336/0.1066, allocations: 64 kB / 0.5034 GB, free: 10.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,5,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.0008281/0.1075, allocations: 0.9285 MB / 0.5043 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.1081, allocations: 409.5 kB / 0.5047 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1081, allocations: 4 kB / 0.5047 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.1085, allocations: 329.2 kB / 0.505 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1088, allocations: 27.98 kB / 0.505 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1117, allocations: 2.487 MB / 0.5075 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1119, allocations: 0.744 MB / 0.5082 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.362e-05/0.112, allocations: 17.95 kB / 0.5082 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.1121, allocations: 67.41 kB / 0.5083 GB, free: 5.637 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1121, allocations: 0 / 0.5083 GB, free: 5.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.1539, allocations: 4.986 MB / 0.5131 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.889/9.043, allocations: 11.98 kB / 0.5131 GB, free: 0.625 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches