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.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.001369/0.001369, allocations: 113 kB / 18.49 MB, free: 4.539 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.002233/0.002233, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 44.9 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001955/0.001955, allocations: 67.91 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1389, allocations: 65.41 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004559/0.1434, allocations: 2.594 MB / 0.5549 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1447, allocations: 0.6739 MB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1448, allocations: 8 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.145, allocations: 39.58 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1451, allocations: 71.34 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1454, allocations: 79.83 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.1457, allocations: 294.8 kB / 0.5561 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1459, allocations: 76.59 kB / 0.5561 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.1461, allocations: 123.5 kB / 0.5563 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1463, allocations: 119.5 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.1463, allocations: 24 kB / 0.5564 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.1464, allocations: 32 kB / 0.5564 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1465, allocations: 43.84 kB / 0.5565 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1466, allocations: 131.4 kB / 0.5566 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.147, allocations: 290.8 kB / 0.5569 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.147, allocations: 0 / 0.5569 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.147, allocations: 0 / 0.5569 GB, free: 5.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.147, allocations: 0 / 0.5569 GB, free: 5.551 MB / 414.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.0008776/0.1479, allocations: 0.5493 MB / 0.5574 GB, free: 4.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1479, allocations: 12.03 kB / 0.5574 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.365e-05/0.1479, allocations: 4.625 kB / 0.5574 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.148, allocations: 54.73 kB / 0.5575 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.1482, allocations: 36.77 kB / 0.5575 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.1486, allocations: 260 kB / 0.5578 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1486, allocations: 16.81 kB / 0.5578 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.1486, allocations: 20.38 kB / 0.5578 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.149, allocations: 191.2 kB / 0.558 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.149, allocations: 0 / 0.558 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1491, allocations: 15.94 kB / 0.558 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1491, allocations: 4 kB / 0.558 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.1494, allocations: 141.6 kB / 0.5581 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1507, allocations: 0.8066 MB / 0.5589 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1509, allocations: 98.42 kB / 0.559 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.151, allocations: 40.84 kB / 0.5591 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.151, allocations: 4 kB / 0.5591 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.151, allocations: 34.56 kB / 0.5591 GB, free: 3.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.151, allocations: 4 kB / 0.5591 GB, free: 3.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.002031/0.1531, allocations: 0.7238 MB / 0.5598 GB, free: 2.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1531, allocations: 55.41 kB / 0.5599 GB, free: 2.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1534, allocations: 208 kB / 0.5601 GB, free: 2.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1534, allocations: 29.7 kB / 0.5601 GB, free: 1.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1536, allocations: 172.1 kB / 0.5602 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.1536, allocations: 55.53 kB / 0.5603 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.1537, allocations: 49.66 kB / 0.5603 GB, free: 1.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1539, allocations: 334.8 kB / 0.5607 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.154, allocations: 59.97 kB / 0.5607 GB, free: 1.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.1542, allocations: 107.2 kB / 0.5608 GB, free: 1.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1546, allocations: 174.8 kB / 0.561 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1546, allocations: 0 / 0.561 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005771/0.1551, allocations: 278.9 kB / 0.5613 GB, free: 0.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1552, allocations: 8 kB / 0.5613 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1552, allocations: 0 / 0.5613 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.1554, allocations: 69.67 kB / 0.5613 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1556, allocations: 40.06 kB / 0.5614 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.1587, allocations: 3.021 MB / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.1589, allocations: 12.02 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1589, allocations: 8 kB / 0.5643 GB, free: 13.26 MB / 430.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.0001616/0.1591, allocations: 133.8 kB / 0.5645 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.1591, allocations: 23.91 kB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1592, allocations: 22.52 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1592, allocations: 4.203 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1592, allocations: 4 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1592, allocations: 3.984 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.1595, allocations: 293.4 kB / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1595, allocations: 0 / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1596, allocations: 19.92 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.1599, allocations: 69.61 kB / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1599, allocations: 4 kB / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.1624, allocations: 3.017 MB / 0.5678 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1624, allocations: 4.031 kB / 0.5678 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.1631, allocations: 394.8 kB / 0.5682 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1632, allocations: 93 kB / 0.5683 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1632, allocations: 8.125 kB / 0.5683 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1634, allocations: 15.98 kB / 0.5683 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.1634, allocations: 19.97 kB / 0.5683 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1635, allocations: 0 / 0.5683 GB, free: 8.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1636, allocations: 152.6 kB / 0.5685 GB, free: 8.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1636, allocations: 0 / 0.5685 GB, free: 8.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000382/0.164, allocations: 64 kB / 0.5686 GB, free: 8.562 MB / 430.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.165, allocations: 0.9311 MB / 0.5695 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007198/0.1657, allocations: 394 kB / 0.5698 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1657, allocations: 0 / 0.5698 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.1662, allocations: 321.5 kB / 0.5701 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1665, allocations: 31.92 kB / 0.5702 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.1701, allocations: 2.491 MB / 0.5726 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1705, allocations: 0.748 MB / 0.5733 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.1706, allocations: 13.95 kB / 0.5734 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1707, allocations: 67.41 kB / 0.5734 GB, free: 3.344 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1707, allocations: 4 kB / 0.5734 GB, free: 3.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.2031, allocations: 5.096 MB / 0.5784 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.42, allocations: 8.609 kB / 0.5784 GB, free: 14.38 MB / 446.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.806566455983557]