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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 103.1 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 188 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.12 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.18, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004352/0.1844, allocations: 2.546 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1855, allocations: 0.5999 MB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1856, allocations: 4 kB / 473.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1858, allocations: 39.58 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.186, allocations: 79.27 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1862, allocations: 67.84 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.1866, allocations: 294.8 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1868, allocations: 84.58 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.187, allocations: 111.6 kB / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1872, allocations: 111.5 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.1872, allocations: 24 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.1873, allocations: 28 kB / 474.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1873, allocations: 51.78 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.1875, allocations: 131.3 kB / 474.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1878, allocations: 279 kB / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1878, allocations: 0 / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1878, allocations: 0 / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1878, allocations: 0 / 475.1 MB, free: 9.227 MB / 350.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.0008885/0.1887, allocations: 0.5302 MB / 475.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1888, allocations: 15.97 kB / 475.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.1889, allocations: 28.59 kB / 475.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.1893, allocations: 239.9 kB / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1893, allocations: 16.81 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.1894, allocations: 24.38 kB / 476 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.1898, allocations: 191.6 kB / 476.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1898, allocations: 7.938 kB / 476.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1898, allocations: 8 kB / 476.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.1898, allocations: 4 kB / 476.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1901, allocations: 141.7 kB / 476.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1915, allocations: 0.8025 MB / 477.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1917, allocations: 94.44 kB / 477.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.1918, allocations: 56.83 kB / 477.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1918, allocations: 0 / 477.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1918, allocations: 30.56 kB / 477.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.036e-06/0.1918, allocations: 3.984 kB / 477.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001731/0.1936, allocations: 0.7253 MB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1936, allocations: 51.41 kB / 478.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1939, allocations: 219.6 kB / 478.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1939, allocations: 29.7 kB / 478.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.194, allocations: 167.8 kB / 478.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.1941, allocations: 51.27 kB / 478.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.1942, allocations: 41.7 kB / 478.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1943, allocations: 330.8 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1944, allocations: 55.97 kB / 479 MB, free: 5.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1946, allocations: 117 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1949, allocations: 173 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1949, allocations: 0.6562 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004879/0.1954, allocations: 285.1 kB / 479.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1954, allocations: 8.156 kB / 479.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1954, allocations: 4 kB / 479.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.1957, allocations: 69.67 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1959, allocations: 35.92 kB / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.1985, allocations: 3.009 MB / 482.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.1987, allocations: 11.94 kB / 482.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1987, allocations: 11.94 kB / 482.7 MB, free: 1.051 MB / 350.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.0001584/0.1989, allocations: 141.8 kB / 482.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.1989, allocations: 23.72 kB / 482.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.199, allocations: 21.88 kB / 482.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.199, allocations: 0 / 482.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.199, allocations: 0 / 482.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.199, allocations: 7.984 kB / 482.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1993, allocations: 281.5 kB / 483.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1993, allocations: 0 / 483.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.1994, allocations: 23.92 kB / 483.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.1996, allocations: 69.67 kB / 483.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1997, allocations: 3.984 kB / 483.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.2021, allocations: 3.013 MB / 486.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2021, allocations: 0 / 486.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.2029, allocations: 396.5 kB / 486.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.2029, allocations: 96.94 kB / 486.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.203, allocations: 0 / 486.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2032, allocations: 19.98 kB / 486.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.2032, allocations: 11.98 kB / 486.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2033, allocations: 12.05 kB / 486.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.2034, allocations: 149.5 kB / 486.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2034, allocations: 0 / 486.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.2038, allocations: 64 kB / 487 MB, free: 12.37 MB / 366.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.000262/0.2041, allocations: 103.2 kB / 487.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.205, allocations: 412.2 kB / 487.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.205, allocations: 0 / 487.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.2054, allocations: 329.2 kB / 487.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2058, allocations: 28.25 kB / 487.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2069, allocations: 0.5018 MB / 488.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.2075, allocations: 0.744 MB / 489.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.073e-05/0.2077, allocations: 17.89 kB / 489.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.2077, allocations: 19.38 kB / 489.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2077, allocations: 4 kB / 489.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.008024/0.2157, allocations: 2.679 MB / 491.8 MB, free: 7.457 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) 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) Reference file matches