Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008233/0.0008233, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008871/0.0008871, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8932/0.8932, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.249/0.249, allocations: 34.24 MB / 294.8 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.177e-05, allocations: 6.219 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.1872/0.1872, allocations: 2.424 MB / 444.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.188, allocations: 0.6445 MB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1882, allocations: 2.562 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1883, allocations: 38.5 kB / 445.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.1883, allocations: 80.48 kB / 445.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1886, allocations: 91.89 kB / 445.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1888, allocations: 301.1 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1889, allocations: 56.91 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1891, allocations: 178.5 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.1892, allocations: 84.97 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1892, allocations: 22.34 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.1893, allocations: 30.16 kB / 446.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.1893, allocations: 51.2 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.1894, allocations: 90.09 kB / 446.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1896, allocations: 297.7 kB / 446.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1896, allocations: 2.656 kB / 446.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1896, allocations: 0 / 446.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1896, allocations: 0 / 446.5 MB, free: 42.5 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.0005174/0.1901, allocations: 483.2 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1901, allocations: 8.5 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1902, allocations: 58.47 kB / 447 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1903, allocations: 36.45 kB / 447.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1906, allocations: 189.2 kB / 447.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1906, allocations: 16 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1906, allocations: 23.8 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1908, allocations: 270.1 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1908, allocations: 3.469 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1909, allocations: 14.91 kB / 447.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1909, allocations: 5.844 kB / 447.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.191, allocations: 137.2 kB / 447.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.1918, allocations: 0.7141 MB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1919, allocations: 99.98 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1919, allocations: 40.14 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.192, allocations: 0 / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.192, allocations: 41.38 kB / 448.6 MB, free: 41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.192, allocations: 0 / 448.6 MB, free: 41 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001052/0.193, allocations: 0.6519 MB / 449.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.1931, allocations: 51.41 kB / 449.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1932, allocations: 211.5 kB / 449.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.1932, allocations: 36.58 kB / 449.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.1932, allocations: 172.3 kB / 449.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1933, allocations: 59.83 kB / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1933, allocations: 39.39 kB / 449.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.1933, allocations: 328.2 kB / 450.1 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1934, allocations: 58.48 kB / 450.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.1935, allocations: 112.2 kB / 450.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1937, allocations: 170.2 kB / 450.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1937, allocations: 6.844 kB / 450.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000298/0.194, allocations: 279.8 kB / 450.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.194, allocations: 9.438 kB / 450.7 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.194, allocations: 2.75 kB / 450.7 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.1942, allocations: 69.77 kB / 450.8 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.1943, allocations: 33.27 kB / 450.8 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1954, allocations: 2.8 MB / 453.6 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.1955, allocations: 7.984 kB / 453.7 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1955, allocations: 12.22 kB / 453.7 MB, free: 36.78 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 8.498e-05/0.1956, allocations: 130.1 kB / 453.8 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1956, allocations: 23.09 kB / 453.8 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.1956, allocations: 26.8 kB / 453.8 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1956, allocations: 4 kB / 453.8 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1956, allocations: 4.312 kB / 453.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1956, allocations: 3.234 kB / 453.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1958, allocations: 234.3 kB / 454.1 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1958, allocations: 0 / 454.1 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.1958, allocations: 18.66 kB / 454.1 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.1959, allocations: 70.31 kB / 454.2 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1959, allocations: 6.469 kB / 454.2 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.1968, allocations: 2.785 MB / 457 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1968, allocations: 0 / 457 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1972, allocations: 390.1 kB / 457.3 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.1972, allocations: 25.59 kB / 457.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1972, allocations: 0.875 kB / 457.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.1973, allocations: 21.61 kB / 457.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1973, allocations: 20.23 kB / 457.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1973, allocations: 2.938 kB / 457.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.1974, allocations: 158.3 kB / 457.6 MB, free: 33.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1974, allocations: 4.062 kB / 457.6 MB, free: 33.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.1977, allocations: 60.75 kB / 457.6 MB, free: 33.34 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.0004197/0.1981, allocations: 0.9195 MB / 458.6 MB, free: 32.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1985, allocations: 406.7 kB / 458.9 MB, free: 32.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1985, allocations: 0 / 458.9 MB, free: 32.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1986, allocations: 327.1 kB / 459.3 MB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1989, allocations: 35.62 kB / 459.3 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.2007, allocations: 2.439 MB / 461.7 MB, free: 30.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.2007, allocations: 138.5 kB / 461.9 MB, free: 30.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.2008, allocations: 21.31 kB / 461.9 MB, free: 30.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.2009, allocations: 71.88 kB / 462 MB, free: 30.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2009, allocations: 3.938 kB / 462 MB, free: 30.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.2216, allocations: 5.923 MB / 467.9 MB, free: 28.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.424, allocations: 14.95 kB / 467.9 MB, free: 28.77 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat","/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_trunk_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: 9.411348511464894]