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.001149/0.001149, 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.001099/0.001099, allocations: 174.3 kB / 23.95 MB, free: 0.6133 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.9226/0.9226, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2491/0.2491, allocations: 32.8 MB / 293.5 MB, free: 1.207 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.964e-06/1.964e-06, allocations: 0 / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.006e-05, allocations: 2.281 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00276/0.00279, allocations: 2.417 MB / 442 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003844, allocations: 0.6465 MB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.00398, allocations: 7.938 kB / 442.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.004104, allocations: 39.58 kB / 442.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.004227, allocations: 79.27 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.004551, allocations: 79.83 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.004852, allocations: 306.4 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.005015, allocations: 60.78 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.005286, allocations: 179.6 kB / 443.4 MB, free: 456 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005403, allocations: 91.7 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.005433, allocations: 24 kB / 443.5 MB, free: 340 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.005491, allocations: 27.94 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.005522, allocations: 51.83 kB / 443.5 MB, free: 260 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.00559, allocations: 91.75 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2009/0.2064, allocations: 282.4 kB / 443.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2064, allocations: 0.75 kB / 443.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2065, allocations: 0 / 443.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.2065, allocations: 0 / 443.9 MB, free: 43.85 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.0006727/0.2071, allocations: 480 kB / 444.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2072, allocations: 16.12 kB / 444.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2072, allocations: 55.94 kB / 444.5 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2073, allocations: 36.83 kB / 444.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2076, allocations: 186.4 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2077, allocations: 24.84 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.2077, allocations: 20.59 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2079, allocations: 269 kB / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2079, allocations: 192 / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.208, allocations: 8.812 kB / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.208, allocations: 9.594 kB / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2081, allocations: 139.7 kB / 445.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.2088, allocations: 0.7159 MB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2089, allocations: 86.12 kB / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.209, allocations: 48.05 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.209, allocations: 2.547 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.209, allocations: 40.09 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.209, allocations: 0.5 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009907/0.21, allocations: 0.6478 MB / 446.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.21, allocations: 54.31 kB / 446.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2101, allocations: 224.1 kB / 446.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2101, allocations: 28.89 kB / 447 MB, free: 42.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.2102, allocations: 172.5 kB / 447.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2102, allocations: 64.5 kB / 447.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.2103, allocations: 38.56 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.2103, allocations: 330.8 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.2104, allocations: 55.89 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.2105, allocations: 110.7 kB / 447.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2106, allocations: 175.6 kB / 447.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2106, allocations: 0 / 447.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002756/0.2109, allocations: 289.8 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2109, allocations: 5.188 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2109, allocations: 3.375 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.2111, allocations: 68.5 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.2112, allocations: 34.98 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.2122, allocations: 2.795 MB / 451.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.2122, allocations: 9.781 kB / 451.1 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2123, allocations: 9.75 kB / 451.1 MB, free: 39.01 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.046e-05/0.2123, allocations: 137.1 kB / 451.2 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.2124, allocations: 23.81 kB / 451.3 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.2124, allocations: 20.75 kB / 451.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2124, allocations: 5.859 kB / 451.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2124, allocations: 6.5 kB / 451.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2124, allocations: 2.812 kB / 451.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.2125, allocations: 228.1 kB / 451.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2125, allocations: 3.938 kB / 451.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.2126, allocations: 20.25 kB / 451.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.2127, allocations: 71.58 kB / 451.6 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2127, allocations: 10.02 kB / 451.6 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008278/0.2135, allocations: 2.777 MB / 454.4 MB, free: 35.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2135, allocations: 4.125 kB / 454.4 MB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.2138, allocations: 389.8 kB / 454.8 MB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.2138, allocations: 24.88 kB / 454.8 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2138, allocations: 0 / 454.8 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.2139, allocations: 18.56 kB / 454.8 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.2139, allocations: 22.39 kB / 454.8 MB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2139, allocations: 6.781 kB / 454.9 MB, free: 35.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.214, allocations: 152.7 kB / 455 MB, free: 35.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.214, allocations: 3.594 kB / 455 MB, free: 35.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000213/0.2142, allocations: 58.97 kB / 455.1 MB, free: 35.6 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.0004357/0.2147, allocations: 0.9271 MB / 456 MB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.2151, allocations: 406.7 kB / 456.4 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2151, allocations: 0 / 456.4 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2153, allocations: 324.5 kB / 456.7 MB, free: 34.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.2155, allocations: 26.7 kB / 456.7 MB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2173, allocations: 2.455 MB / 459.2 MB, free: 32.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.2174, allocations: 135.2 kB / 459.3 MB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.2175, allocations: 22.22 kB / 459.3 MB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.2175, allocations: 72.58 kB / 459.4 MB, free: 32.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2175, allocations: 0 / 459.4 MB, free: 32.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.2378, allocations: 5.937 MB / 465.3 MB, free: 31.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/7.092, allocations: 7.797 kB / 465.4 MB, free: 31.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.1279152976349]