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.0009545/0.0009545, allocations: 79.7 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.001002/0.001002, 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.9031/0.9031, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2457/0.2457, 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 2.134e-06/2.134e-06, allocations: 0 / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.94e-05, allocations: 4.391 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.2056/0.2057, allocations: 2.423 MB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.2066, allocations: 0.6421 MB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2067, allocations: 2.906 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2068, allocations: 43.38 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.272e-05/0.2069, allocations: 73.8 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.2072, allocations: 83.72 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.2074, allocations: 309.4 kB / 445.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2076, allocations: 59.7 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.2078, allocations: 173 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.2079, allocations: 92.5 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.2079, allocations: 22.88 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.098e-05/0.2079, allocations: 26.58 kB / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.208, allocations: 52 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.208, allocations: 89.62 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2082, allocations: 293 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2083, allocations: 6.219 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2083, allocations: 0 / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.2083, 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.0005135/0.2088, allocations: 479.4 kB / 447 MB, free: 42.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2088, allocations: 8.094 kB / 447 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.2089, allocations: 61.83 kB / 447 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.209, allocations: 34.55 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2092, allocations: 194.8 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2093, allocations: 15.19 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.2093, allocations: 22.12 kB / 447.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2095, allocations: 273.2 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2095, allocations: 192 / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2096, allocations: 14.05 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2096, allocations: 2.781 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.2097, allocations: 141.9 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.2105, allocations: 0.7178 MB / 448.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2106, allocations: 90.47 kB / 448.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.2107, allocations: 50.48 kB / 448.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2107, allocations: 0 / 448.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2107, allocations: 41.31 kB / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.2107, allocations: 0 / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.00101/0.2117, allocations: 0.6486 MB / 449.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.2118, allocations: 54.64 kB / 449.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2119, allocations: 216.8 kB / 449.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2119, allocations: 29.7 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.2119, allocations: 172.5 kB / 449.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.212, allocations: 60.53 kB / 449.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.212, allocations: 39.02 kB / 449.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.212, allocations: 331 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.2121, allocations: 60.84 kB / 450.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.2122, allocations: 104.2 kB / 450.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.2123, allocations: 181.5 kB / 450.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2123, 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.0002712/0.2126, allocations: 283.3 kB / 450.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2126, allocations: 5.719 kB / 450.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2126, allocations: 0 / 450.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.2128, allocations: 65.92 kB / 450.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.2129, allocations: 32.08 kB / 450.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2139, allocations: 2.795 MB / 453.7 MB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.214, allocations: 13.02 kB / 453.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.214, allocations: 6.656 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 8.447e-05/0.2141, allocations: 141.5 kB / 453.8 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.2141, allocations: 24.59 kB / 453.8 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.2141, allocations: 30.94 kB / 453.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2141, allocations: 2.875 kB / 453.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2142, allocations: 0 / 453.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2142, allocations: 0 / 453.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2143, allocations: 237.2 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2143, allocations: 0 / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2144, allocations: 14.83 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.2145, allocations: 74.98 kB / 454.2 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.2145, allocations: 2.062 kB / 454.2 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000942/0.2154, allocations: 2.785 MB / 457 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2154, allocations: 0 / 457 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.2157, allocations: 393.9 kB / 457.4 MB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.2158, allocations: 17.72 kB / 457.4 MB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2158, allocations: 4 kB / 457.4 MB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.2158, allocations: 14.64 kB / 457.4 MB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.2159, allocations: 24.59 kB / 457.4 MB, free: 33.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2159, allocations: 2.906 kB / 457.4 MB, free: 33.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.227e-05/0.216, allocations: 155.3 kB / 457.6 MB, free: 33.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.216, allocations: 6.938 kB / 457.6 MB, free: 33.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.2162, allocations: 62.5 kB / 457.6 MB, free: 33.47 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.0004218/0.2166, allocations: 0.9228 MB / 458.6 MB, free: 32.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.217, allocations: 406.7 kB / 459 MB, free: 32.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.217, allocations: 0 / 459 MB, free: 32.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.2171, allocations: 321.5 kB / 459.3 MB, free: 32.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.2174, allocations: 33.33 kB / 459.3 MB, free: 32.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2191, allocations: 2.457 MB / 461.8 MB, free: 30.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.991e-05/0.2192, allocations: 136.2 kB / 461.9 MB, free: 30.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.176e-05/0.2192, allocations: 23.91 kB / 461.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.2193, allocations: 67.42 kB / 462 MB, free: 30.22 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2193, allocations: 0 / 462 MB, free: 30.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.2434, allocations: 5.924 MB / 467.9 MB, free: 28.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.2, allocations: 10.16 kB / 467.9 MB, free: 28.9 MB / 410.7 MB " [Timeout remaining time 653] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.190811973065138]