Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001529/0.001529, 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.001358/0.001358, 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 46.93 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.91 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 65.99 MB / 0.556 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004944/0.1583, allocations: 2.595 MB / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1601, allocations: 0.6738 MB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.1604, allocations: 7.938 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1607, allocations: 35.64 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.161, allocations: 79.33 kB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1614, allocations: 75.84 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.162, allocations: 290.7 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.1622, allocations: 76.36 kB / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.1625, allocations: 123.6 kB / 0.5599 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1628, allocations: 119.5 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.1628, allocations: 24 kB / 0.56 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.163, allocations: 24 kB / 0.56 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.163, allocations: 59.83 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1632, allocations: 123.3 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.1637, allocations: 294.8 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1637, allocations: 0 / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1637, allocations: 0 / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.1637, allocations: 0 / 0.5605 GB, free: 1.223 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.001022/0.1647, allocations: 0.5455 MB / 0.561 GB, free: 0.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1648, allocations: 8.031 kB / 0.561 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.055e-05/0.1648, allocations: 4.625 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.1649, allocations: 58.72 kB / 0.5611 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.1651, allocations: 36.78 kB / 0.5611 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.1655, allocations: 255.9 kB / 0.5614 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1655, allocations: 16.81 kB / 0.5614 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.1656, allocations: 24.36 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.166, allocations: 203.2 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.166, allocations: 0 / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.1661, allocations: 4 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.1661, allocations: 8 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1664, allocations: 137.7 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1679, allocations: 0.8105 MB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1682, allocations: 94.48 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1683, allocations: 48.78 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1683, allocations: 0 / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1683, allocations: 30.56 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1683, allocations: 0 / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001945/0.1703, allocations: 0.7253 MB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1703, allocations: 59.39 kB / 0.5635 GB, free: 13.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1706, allocations: 211 kB / 0.5637 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1706, allocations: 29.7 kB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1708, allocations: 172.1 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.1708, allocations: 55.58 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.1709, allocations: 37.67 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1711, allocations: 334.8 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1712, allocations: 63.91 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1714, allocations: 109.1 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.1718, allocations: 169.1 kB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1718, allocations: 0 / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005829/0.1723, allocations: 284.3 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1724, allocations: 4 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1724, allocations: 4 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.1726, allocations: 65.67 kB / 0.5649 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1728, allocations: 35.92 kB / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.1756, allocations: 3.022 MB / 0.5679 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1758, allocations: 12.03 kB / 0.5679 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1758, allocations: 4 kB / 0.5679 GB, free: 8.949 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.0001663/0.176, allocations: 146.3 kB / 0.5681 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.176, allocations: 19.84 kB / 0.5681 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.1761, allocations: 26.05 kB / 0.5681 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1761, allocations: 4 kB / 0.5681 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1761, allocations: 4 kB / 0.5681 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1761, allocations: 4.594 kB / 0.5681 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.1764, allocations: 289.4 kB / 0.5684 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1764, allocations: 4 kB / 0.5684 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.1765, allocations: 16.08 kB / 0.5684 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.1768, allocations: 73.66 kB / 0.5685 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1768, allocations: 0 / 0.5685 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.1794, allocations: 3.017 MB / 0.5714 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1794, allocations: 3.938 kB / 0.5715 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.1801, allocations: 399.4 kB / 0.5718 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.1802, allocations: 96.98 kB / 0.5719 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1802, allocations: 8 kB / 0.5719 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1804, allocations: 11.98 kB / 0.5719 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.1805, allocations: 20.05 kB / 0.572 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1805, allocations: 4 kB / 0.572 GB, free: 4.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1806, allocations: 160.5 kB / 0.5721 GB, free: 4.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1806, allocations: 0 / 0.5721 GB, free: 4.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.181, allocations: 64 kB / 0.5722 GB, free: 4.227 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.001005/0.182, allocations: 0.9131 MB / 0.5731 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.1828, allocations: 406 kB / 0.5735 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1828, allocations: 0 / 0.5735 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.1833, allocations: 325.2 kB / 0.5738 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1837, allocations: 24.25 kB / 0.5738 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.1873, allocations: 2.5 MB / 0.5762 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1877, allocations: 0.7401 MB / 0.577 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.234e-05/0.1878, allocations: 17.95 kB / 0.577 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1879, allocations: 67.41 kB / 0.577 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1879, allocations: 0 / 0.577 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.2269, allocations: 5.09 MB / 0.582 GB, free: 10.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.53, allocations: 11.14 kB / 0.582 GB, free: 10.07 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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: 14.124621640949044]