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.0008458/0.0008458, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008299/0.0008299, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9075/0.9075, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2422/0.2422, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.085e-05, allocations: 2.281 kB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.17/0.17, allocations: 2.423 MB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.1707, allocations: 0.6429 MB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.1708, allocations: 2.844 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1709, allocations: 50.48 kB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.171, allocations: 75.17 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1712, allocations: 82.47 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1714, allocations: 308.9 kB / 445.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1715, allocations: 62.19 kB / 445.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1717, allocations: 172.5 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1717, allocations: 86.77 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.1718, allocations: 23.66 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.1718, allocations: 28.34 kB / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.1718, allocations: 50.05 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.1719, allocations: 89.14 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1721, allocations: 297.3 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1721, allocations: 0 / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1721, allocations: 0 / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1721, allocations: 0 / 446.5 MB, free: 42.62 MB / 410.7 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.0004426/0.1725, allocations: 487.2 kB / 447 MB, free: 42.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1726, allocations: 11.59 kB / 447 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1726, allocations: 55.09 kB / 447 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/0.1727, allocations: 36.12 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1729, allocations: 194.1 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1729, allocations: 13.59 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1729, allocations: 23.06 kB / 447.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1731, allocations: 276.8 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.1731, allocations: 192 / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1732, allocations: 10.72 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1732, allocations: 5.875 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1733, allocations: 143.4 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.1739, allocations: 0.7069 MB / 448.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.174, allocations: 95.89 kB / 448.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.1741, allocations: 43.53 kB / 448.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1741, allocations: 2.875 kB / 448.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.1741, allocations: 42.5 kB / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.1741, allocations: 0 / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000915/0.175, allocations: 0.656 MB / 449.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.175, allocations: 51.41 kB / 449.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1752, allocations: 215.1 kB / 449.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.1752, allocations: 28.7 kB / 449.6 MB, free: 40.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.1752, allocations: 169.6 kB / 449.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1752, allocations: 62.78 kB / 449.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.1753, allocations: 39.41 kB / 449.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.792e-05/0.1753, allocations: 328.4 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.1754, allocations: 62.97 kB / 450.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.1754, allocations: 104.2 kB / 450.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1756, allocations: 176.6 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1756, allocations: 3.938 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002652/0.1759, allocations: 281.4 kB / 450.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1759, allocations: 5.625 kB / 450.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1759, allocations: 2.938 kB / 450.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.176, allocations: 70.84 kB / 450.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.1761, allocations: 30.12 kB / 450.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009375/0.177, allocations: 2.798 MB / 453.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.1771, allocations: 12.67 kB / 453.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1771, allocations: 6.75 kB / 453.7 MB, free: 36.91 MB / 410.7 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 6.508e-05/0.1772, allocations: 146.1 kB / 453.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1772, allocations: 24.59 kB / 453.8 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.1772, allocations: 26.92 kB / 453.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-07/0.1772, allocations: 0 / 453.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1772, allocations: 3.094 kB / 453.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1772, allocations: 0 / 453.9 MB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1773, allocations: 231.2 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1773, allocations: 0 / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.1774, allocations: 19 kB / 454.1 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.846e-05/0.1775, allocations: 74.69 kB / 454.2 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1775, allocations: 2.062 kB / 454.2 MB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007802/0.1783, allocations: 2.787 MB / 457 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1783, allocations: 2.75 kB / 457 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1786, allocations: 385.3 kB / 457.4 MB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.1786, allocations: 17.62 kB / 457.4 MB, free: 33.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1786, allocations: 6.812 kB / 457.4 MB, free: 33.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.1787, allocations: 15.11 kB / 457.4 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1787, allocations: 27.45 kB / 457.4 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1787, allocations: 6.625 kB / 457.4 MB, free: 33.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1788, allocations: 156.8 kB / 457.6 MB, free: 33.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1788, allocations: 0 / 457.6 MB, free: 33.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.179, allocations: 62.47 kB / 457.6 MB, free: 33.46 MB / 410.7 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.0003723/0.1793, allocations: 0.9231 MB / 458.6 MB, free: 32.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1797, allocations: 403.4 kB / 459 MB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1797, allocations: 0 / 459 MB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1798, allocations: 323.1 kB / 459.3 MB, free: 32.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.18, allocations: 28.42 kB / 459.3 MB, free: 32.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1815, allocations: 2.458 MB / 461.8 MB, free: 30.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.1816, allocations: 141.1 kB / 461.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.1817, allocations: 14.67 kB / 461.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.1817, allocations: 67.73 kB / 462 MB, free: 30.21 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1817, allocations: 0 / 462 MB, free: 30.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.2113, allocations: 5.937 MB / 467.9 MB, free: 28.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.432, allocations: 3.375 kB / 467.9 MB, free: 28.89 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv failed! Error: Could not read variable basicTransformer.i2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.548556837253273]