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.0008317/0.0008317, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008503/0.0008503, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8945/0.8945, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2559/0.2559, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 439.5 MB, free: 4.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.388e-05, allocations: 2.844 kB / 439.5 MB, free: 4.305 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003618/0.003642, allocations: 2.439 MB / 442 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.004822, allocations: 0.6387 MB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.004963, allocations: 4 kB / 442.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.005112, allocations: 43.58 kB / 442.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.005256, allocations: 79.23 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.005573, allocations: 83.86 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.005901, allocations: 306.4 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.006083, allocations: 64.78 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.006364, allocations: 171.7 kB / 443.4 MB, free: 468 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.006506, allocations: 83.72 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.006543, allocations: 24 kB / 443.5 MB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.0066, allocations: 31.94 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.006632, allocations: 55.81 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.00669, allocations: 87.75 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1644/0.1711, allocations: 288.6 kB / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1711, allocations: 0 / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1711, allocations: 0 / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1711, allocations: 2.812 kB / 443.9 MB, free: 43.8 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.0005971/0.1717, allocations: 476.8 kB / 444.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1718, allocations: 12 kB / 444.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1718, allocations: 54.92 kB / 444.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1719, allocations: 38.58 kB / 444.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1722, allocations: 199.2 kB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1722, allocations: 14.91 kB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1723, allocations: 17.12 kB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1725, allocations: 268.7 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.1725, allocations: 192 / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1725, allocations: 10.88 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1725, allocations: 10.25 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1727, allocations: 142.1 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.1734, allocations: 0.7121 MB / 445.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1735, allocations: 96.36 kB / 445.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.1735, allocations: 45.02 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1735, allocations: 0 / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.1736, allocations: 38.06 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1736, allocations: 0 / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.00104/0.1746, allocations: 0.6517 MB / 446.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.1746, allocations: 54.64 kB / 446.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1747, allocations: 224.5 kB / 446.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.1748, allocations: 29.14 kB / 447 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1748, allocations: 172.8 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1748, allocations: 54.31 kB / 447.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1749, allocations: 41.17 kB / 447.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.1749, allocations: 333 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.175, allocations: 59.53 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.1751, allocations: 106.8 kB / 447.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1753, allocations: 177.6 kB / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1753, allocations: 0 / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000279/0.1755, allocations: 287.4 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1755, allocations: 6.938 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1756, allocations: 9.531 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.1757, allocations: 66.23 kB / 448.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.1758, allocations: 29.89 kB / 448.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.1768, allocations: 2.796 MB / 451.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.1769, allocations: 12.39 kB / 451.1 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1769, allocations: 9.375 kB / 451.1 MB, free: 38.98 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 7.528e-05/0.177, allocations: 132.6 kB / 451.2 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.177, allocations: 22.75 kB / 451.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.177, allocations: 30.69 kB / 451.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.177, allocations: 5.953 kB / 451.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.177, allocations: 3.125 kB / 451.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.177, allocations: 0 / 451.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1772, allocations: 233.9 kB / 451.5 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1772, allocations: 3.938 kB / 451.5 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.1772, allocations: 17.48 kB / 451.5 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.1773, allocations: 68.8 kB / 451.6 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1773, allocations: 4 kB / 451.6 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008282/0.1782, allocations: 2.792 MB / 454.4 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1782, allocations: 0 / 454.4 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1785, allocations: 392.6 kB / 454.8 MB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.1785, allocations: 24.58 kB / 454.8 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1785, allocations: 0 / 454.8 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1786, allocations: 19.06 kB / 454.8 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1786, allocations: 15.58 kB / 454.9 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.1786, allocations: 6.781 kB / 454.9 MB, free: 35.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.1787, allocations: 149.7 kB / 455 MB, free: 35.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1787, allocations: 4 kB / 455 MB, free: 35.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.1789, allocations: 65 kB / 455.1 MB, free: 35.57 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.0004156/0.1794, allocations: 0.9215 MB / 456 MB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.1797, allocations: 406.5 kB / 456.4 MB, free: 34.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1797, allocations: 2.25 kB / 456.4 MB, free: 34.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.1799, allocations: 319.5 kB / 456.7 MB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1801, allocations: 30.08 kB / 456.7 MB, free: 34.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1818, allocations: 2.452 MB / 459.2 MB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.754e-05/0.1819, allocations: 140.4 kB / 459.3 MB, free: 32.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.1819, allocations: 22.77 kB / 459.3 MB, free: 32.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.182, allocations: 72.69 kB / 459.4 MB, free: 32.37 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.182, allocations: 0 / 459.4 MB, free: 32.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2004, allocations: 5.935 MB / 465.3 MB, free: 31.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.409, allocations: 15.73 kB / 465.4 MB, free: 31.05 MB / 410.7 MB " [Timeout remaining time 653] (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.000219912 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.496565024368465]