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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 216.6 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.28 MB / 330.4 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 71.89 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1341, allocations: 61.05 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004837/0.1389, allocations: 2.358 MB / 0.5184 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1405, allocations: 0.6164 MB / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.1408, allocations: 4 kB / 0.519 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.141, allocations: 47.56 kB / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1412, allocations: 71.34 kB / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1415, allocations: 75.78 kB / 0.5192 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.1419, allocations: 294.6 kB / 0.5195 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1421, allocations: 68.98 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1424, allocations: 111.6 kB / 0.5197 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1426, allocations: 111.5 kB / 0.5198 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.1427, allocations: 20 kB / 0.5198 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.1427, allocations: 24 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1428, allocations: 47.84 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1429, allocations: 111.5 kB / 0.52 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1434, allocations: 278.9 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1434, allocations: 0 / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1434, allocations: 0 / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1434, allocations: 0 / 0.5203 GB, free: 2.934 MB / 398.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.0009944/0.1444, allocations: 473.5 kB / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1444, allocations: 8.031 kB / 0.5207 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.467e-05/0.1445, allocations: 62.72 kB / 0.5208 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.1446, allocations: 24.8 kB / 0.5208 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.145, allocations: 187.1 kB / 0.521 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.145, allocations: 16.81 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.1451, allocations: 20.38 kB / 0.521 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.1455, allocations: 272.5 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1455, allocations: 7.938 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1455, allocations: 8 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1456, allocations: 4 kB / 0.5213 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.1459, allocations: 141.7 kB / 0.5214 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1473, allocations: 0.7134 MB / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1475, allocations: 94.42 kB / 0.5222 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.1476, allocations: 44.84 kB / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1476, allocations: 0 / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1476, allocations: 34.56 kB / 0.5223 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1476, allocations: 7.938 kB / 0.5223 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001855/0.1495, allocations: 0.6394 MB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1495, allocations: 55.5 kB / 0.523 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1498, allocations: 223.6 kB / 0.5232 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.1498, allocations: 25.7 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.15, allocations: 172.2 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.15, allocations: 59.48 kB / 0.5234 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.1501, allocations: 41.7 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1503, allocations: 330.8 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1504, allocations: 59.97 kB / 0.5238 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1506, allocations: 113 kB / 0.5239 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1509, allocations: 169.1 kB / 0.5241 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1509, allocations: 0 / 0.5241 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005523/0.1515, allocations: 285.5 kB / 0.5244 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1515, allocations: 4 kB / 0.5244 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1515, allocations: 7.984 kB / 0.5244 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.1518, allocations: 65.67 kB / 0.5245 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1519, allocations: 31.92 kB / 0.5245 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.1546, allocations: 2.802 MB / 0.5272 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.1548, allocations: 16 kB / 0.5272 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1548, allocations: 8 kB / 0.5272 GB, free: 11.21 MB / 414.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.0001469/0.1549, allocations: 138.3 kB / 0.5274 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.155, allocations: 15.91 kB / 0.5274 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.155, allocations: 25.8 kB / 0.5274 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.155, allocations: 4 kB / 0.5274 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.155, allocations: 0 / 0.5274 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.155, allocations: 192 / 0.5274 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.1554, allocations: 240.6 kB / 0.5277 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1554, allocations: 0 / 0.5277 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.1555, allocations: 19.92 kB / 0.5277 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.1557, allocations: 69.67 kB / 0.5277 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1557, allocations: 4 kB / 0.5277 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.1583, allocations: 2.794 MB / 0.5305 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1583, allocations: 0 / 0.5305 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.159, allocations: 396.6 kB / 0.5308 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.159, allocations: 23.75 kB / 0.5309 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1591, allocations: 4 kB / 0.5309 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1592, allocations: 16.11 kB / 0.5309 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.1593, allocations: 23.97 kB / 0.5309 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1593, allocations: 4 kB / 0.5309 GB, free: 7.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1595, allocations: 145.5 kB / 0.5311 GB, free: 7.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 0 / 0.5311 GB, free: 7.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.1598, allocations: 64 kB / 0.5311 GB, free: 6.945 MB / 414.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.001017/0.1608, allocations: 0.9363 MB / 0.532 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006927/0.1615, allocations: 393.2 kB / 0.5324 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1615, allocations: 0 / 0.5324 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.162, allocations: 325.6 kB / 0.5327 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1623, allocations: 28.92 kB / 0.5327 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.1658, allocations: 2.477 MB / 0.5352 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.1659, allocations: 138.2 kB / 0.5353 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.526e-05/0.166, allocations: 13.95 kB / 0.5353 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1661, allocations: 67.41 kB / 0.5354 GB, free: 2.359 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1661, allocations: 0 / 0.5354 GB, free: 2.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/0.427, allocations: 5.745 MB / 0.541 GB, free: 28.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 3.266 kB / 0.541 GB, free: 28.53 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.187531867995858]