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.001428/0.001428, allocations: 96.38 kB / 16.27 MB, free: 5.961 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.001624/0.001624, allocations: 191.2 kB / 17.19 MB, free: 5.598 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.298/1.298, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.195/0.195, 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.001453/0.001453, allocations: 67.11 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08813, allocations: 57.79 MB / 440.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00279/0.09096, allocations: 2.519 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.09166, allocations: 0.6436 MB / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.09177, allocations: 4 kB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.09189, allocations: 43.56 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.958e-05/0.092, allocations: 67.34 kB / 443.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.09219, allocations: 71.89 kB / 444 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.09241, allocations: 290.7 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.09257, allocations: 88.8 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.09269, allocations: 111.6 kB / 444.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.09281, allocations: 115.5 kB / 444.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.09285, allocations: 24 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.739e-05/0.0929, allocations: 20 kB / 444.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.09294, allocations: 55.83 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.505e-05/0.09303, allocations: 123.4 kB / 444.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.09322, allocations: 279 kB / 445 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09323, allocations: 0 / 445 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09324, allocations: 4 kB / 445 MB, free: 2.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.09325, allocations: 0 / 445 MB, free: 2.367 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006133/0.09387, allocations: 0.5301 MB / 445.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.09391, allocations: 19.83 kB / 445.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.09396, allocations: 50.73 kB / 445.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.09401, allocations: 32.64 kB / 445.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.09421, allocations: 243.8 kB / 445.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.09423, allocations: 16.81 kB / 445.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.09426, allocations: 20.38 kB / 445.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.09455, allocations: 191.4 kB / 446.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.09457, allocations: 0 / 446.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.0946, allocations: 12 kB / 446.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.09461, allocations: 4 kB / 446.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.09485, allocations: 145.6 kB / 446.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.09583, allocations: 0.8064 MB / 447.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.09598, allocations: 98.42 kB / 447.2 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.0961, allocations: 56.91 kB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.09612, allocations: 0 / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.09615, allocations: 30.56 kB / 447.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.09615, allocations: 0 / 447.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001633/0.09779, allocations: 0.7291 MB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.09783, allocations: 55.41 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.09802, allocations: 203.8 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.09805, allocations: 33.7 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.09815, allocations: 159.8 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.0982, allocations: 63.09 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.09828, allocations: 45.64 kB / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.0984, allocations: 330.8 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.09854, allocations: 63.97 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.09872, allocations: 106 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.09904, allocations: 185.2 kB / 449.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.09905, allocations: 0 / 449.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005203/0.09958, allocations: 279.7 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.09961, allocations: 8 kB / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.09962, allocations: 0 / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.09985, allocations: 69.67 kB / 449.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1, allocations: 39.92 kB / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.1023, allocations: 3.013 MB / 452.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1025, allocations: 8 kB / 452.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1025, allocations: 11.94 kB / 452.6 MB, free: 10.13 MB / 334.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.0001153/0.1026, allocations: 138.2 kB / 452.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.1027, allocations: 27.86 kB / 452.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1027, allocations: 21.88 kB / 452.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1027, allocations: 0 / 452.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1027, allocations: 0 / 452.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1027, allocations: 4 kB / 452.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.103, allocations: 289.4 kB / 453.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.103, allocations: 0 / 453.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.1031, allocations: 15.98 kB / 453.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.1033, allocations: 77.64 kB / 453.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1033, allocations: 0 / 453.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.1054, allocations: 3.005 MB / 456.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1054, allocations: 3.938 kB / 456.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.106, allocations: 401.6 kB / 456.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1061, allocations: 100.9 kB / 456.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1061, allocations: 0 / 456.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1063, allocations: 24.05 kB / 456.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.1064, allocations: 15.98 kB / 456.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1064, allocations: 0 / 456.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1065, allocations: 157.5 kB / 456.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1065, allocations: 0 / 456.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1069, allocations: 64 kB / 457 MB, free: 5.43 MB / 334.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.0008667/0.1078, allocations: 0.9285 MB / 457.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.1084, allocations: 409.2 kB / 458.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1084, allocations: 0 / 458.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.1088, allocations: 329.2 kB / 458.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1092, allocations: 32.42 kB / 458.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1121, allocations: 2.486 MB / 461.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1124, allocations: 0.748 MB / 461.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.418e-05/0.1124, allocations: 13.95 kB / 461.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.1125, allocations: 67.41 kB / 462 MB, free: 220 kB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1125, allocations: 4 kB / 462 MB, free: 216 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1368, allocations: 4.884 MB / 466.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/8.988, allocations: 4.062 kB / 466.9 MB, free: 11.34 MB / 350.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