Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_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.001164/0.001165, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001155/0.001155, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.318/1.318, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1947/0.1947, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61.06 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 60.82 MB / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.0038/0.1105, allocations: 2.557 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.1114, allocations: 0.5921 MB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1115, allocations: 4 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1116, allocations: 39.58 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1118, allocations: 71.34 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.112, allocations: 67.91 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1123, allocations: 298.6 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1125, allocations: 80.59 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1127, allocations: 115.6 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1128, allocations: 119.5 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.1129, allocations: 20 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.1129, allocations: 24 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.113, allocations: 51.84 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1131, allocations: 127.4 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1134, allocations: 275.3 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1134, allocations: 0 / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1134, allocations: 3.938 kB / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1134, allocations: 0 / 473.8 MB, free: 9.836 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007828/0.1142, allocations: 0.5369 MB / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1143, allocations: 12.03 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.1144, allocations: 54.73 kB / 474.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.1144, allocations: 28.66 kB / 474.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1147, allocations: 235.9 kB / 474.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1147, allocations: 20.8 kB / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.1147, allocations: 24.38 kB / 474.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.1151, allocations: 191.4 kB / 474.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.1151, allocations: 0 / 474.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1151, allocations: 8 kB / 474.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1151, allocations: 8 kB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.1154, allocations: 145.6 kB / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1166, allocations: 0.8064 MB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1168, allocations: 106.4 kB / 475.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.1169, allocations: 52.78 kB / 476 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.117, allocations: 4 kB / 476 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.117, allocations: 30.56 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.117, allocations: 0 / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00181/0.1188, allocations: 0.7214 MB / 476.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1189, allocations: 51.41 kB / 476.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1191, allocations: 215.6 kB / 477 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1191, allocations: 29.7 kB / 477 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1193, allocations: 167.8 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.1193, allocations: 59.19 kB / 477.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.1194, allocations: 45.7 kB / 477.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1195, allocations: 330.8 kB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1197, allocations: 59.97 kB / 477.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.1199, allocations: 105 kB / 477.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.1202, allocations: 165.1 kB / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.1202, allocations: 7.984 kB / 477.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005272/0.1207, allocations: 282.8 kB / 478.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1207, allocations: 4 kB / 478.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1208, allocations: 4 kB / 478.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.121, allocations: 73.83 kB / 478.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1212, allocations: 31.92 kB / 478.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.1235, allocations: 3.013 MB / 481.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1237, allocations: 12.02 kB / 481.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1237, allocations: 8 kB / 481.4 MB, free: 1.598 MB / 350.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.000146/0.1239, allocations: 137.8 kB / 481.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1239, allocations: 19.72 kB / 481.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.124, allocations: 25.86 kB / 481.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.124, allocations: 4 kB / 481.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.124, allocations: 0 / 481.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.124, allocations: 0.6562 kB / 481.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1243, allocations: 293.4 kB / 481.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1243, allocations: 4 kB / 481.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1245, allocations: 19.88 kB / 481.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.1246, allocations: 69.66 kB / 481.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1247, allocations: 0 / 481.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.1269, allocations: 3.017 MB / 484.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.1269, allocations: 7.922 kB / 484.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.1275, allocations: 388.1 kB / 485.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1276, allocations: 97.08 kB / 485.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1276, allocations: 4 kB / 485.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1278, allocations: 15.98 kB / 485.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1278, allocations: 19.97 kB / 485.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1279, allocations: 4 kB / 485.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.128, allocations: 152.2 kB / 485.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.128, allocations: 0 / 485.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1284, allocations: 60 kB / 485.7 MB, free: 12.91 MB / 366.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.0008821/0.1293, allocations: 0.9345 MB / 486.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006489/0.1299, allocations: 411.7 kB / 487 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1299, allocations: 0 / 487 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.1304, allocations: 321.7 kB / 487.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1308, allocations: 36.2 kB / 487.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.1337, allocations: 2.477 MB / 489.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.134, allocations: 0.744 MB / 490.6 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.374e-05/0.1341, allocations: 21.94 kB / 490.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1342, allocations: 67.41 kB / 490.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1343, allocations: 0 / 490.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.1641, allocations: 4.878 MB / 495.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.017, allocations: 4.984 kB / 495.5 MB, free: 2.918 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches