Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.0007727/0.0007727, allocations: 84.34 kB / 21.43 MB, free: 3.125 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.003064/0.003064, allocations: 154.2 kB / 24.7 MB, free: 9.406 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.91/0.91, allocations: 177 MB / 204.9 MB, free: 5.758 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.2626/0.2626, allocations: 34.24 MB / 295.6 MB, free: 0.6875 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.512e-05, allocations: 4.391 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1847/0.1847, allocations: 6.83 MB / 450.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1868, allocations: 2.286 MB / 452.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.1871, allocations: 28.69 kB / 452.6 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.1886, allocations: 1.782 MB / 454.3 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007972/0.1893, allocations: 0.7235 MB / 455.1 MB, free: 37.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.1903, allocations: 1.035 MB / 456.1 MB, free: 37.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.191, allocations: 1.458 MB / 457.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.1917, allocations: 0.9206 MB / 458.5 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.1922, allocations: 0.8579 MB / 459.3 MB, free: 35.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1925, allocations: 0.5592 MB / 459.9 MB, free: 35.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.1926, allocations: 113.8 kB / 460 MB, free: 35.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.1929, allocations: 326.1 kB / 460.3 MB, free: 35.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.193, allocations: 303.8 kB / 460.6 MB, free: 34.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.1933, allocations: 455.6 kB / 461.1 MB, free: 34.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.1942, allocations: 1.816 MB / 462.9 MB, free: 34.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1942, allocations: 0 / 462.9 MB, free: 34.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1942, allocations: 11.16 kB / 462.9 MB, free: 34.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1942, allocations: 0 / 462.9 MB, free: 34.01 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.003436/0.1977, allocations: 2.323 MB / 465.2 MB, free: 32.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1977, allocations: 9.469 kB / 465.2 MB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.202, allocations: 1.335 MB / 466.6 MB, free: 32.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.2026, allocations: 0.5517 MB / 467.1 MB, free: 32.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.2026, allocations: 100.5 kB / 467.2 MB, free: 32.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2028, allocations: 135.2 kB / 467.3 MB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2043, allocations: 1.592 MB / 468.9 MB, free: 31.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.2043, allocations: 7.406 kB / 468.9 MB, free: 31.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.2044, allocations: 53.34 kB / 469 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.2044, allocations: 39.97 kB / 469 MB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.2058, allocations: 1.5 MB / 470.5 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.2097, allocations: 4.273 MB / 474.8 MB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2107, allocations: 1.064 MB / 475.9 MB, free: 27.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.2113, allocations: 0.5523 MB / 476.4 MB, free: 27.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.2113, allocations: 39.42 kB / 476.5 MB, free: 27.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2114, allocations: 45.53 kB / 476.5 MB, free: 27.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.564e-06/0.2114, allocations: 0 / 476.5 MB, free: 27.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.00467/0.216, allocations: 2.998 MB / 479.5 MB, free: 26.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2161, allocations: 90.67 kB / 479.6 MB, free: 26.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.2163, allocations: 421.2 kB / 480 MB, free: 26.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.2164, allocations: 52.14 kB / 480.1 MB, free: 26.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2165, allocations: 480.7 kB / 480.5 MB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.2166, allocations: 443.2 kB / 481 MB, free: 25.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.2168, allocations: 217.2 kB / 481.2 MB, free: 25.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.2169, allocations: 378 kB / 481.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.2173, allocations: 458.8 kB / 482 MB, free: 24.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.218, allocations: 0.6914 MB / 482.7 MB, free: 24.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2193, allocations: 1.207 MB / 483.9 MB, free: 23.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2193, allocations: 2.062 kB / 483.9 MB, free: 23.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001844/0.2211, allocations: 1.58 MB / 485.5 MB, free: 22.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2211, allocations: 11.23 kB / 485.5 MB, free: 22.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.2211, allocations: 7.094 kB / 485.5 MB, free: 22.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009426/0.2221, allocations: 0.5236 MB / 486 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.2225, allocations: 198.4 kB / 486.2 MB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001055/0.2226, allocations: 55.45 kB / 486.3 MB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.223, allocations: 120.3 kB / 486.4 MB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.223, allocations: 49.7 kB / 486.4 MB, free: 22.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.2233, allocations: 275.6 kB / 486.7 MB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.2234, allocations: 77.59 kB / 486.8 MB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.2252, allocations: 1.54 MB / 488.3 MB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.2252, allocations: 20.5 kB / 488.3 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2252, allocations: 1.094 kB / 488.3 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2252, allocations: 3.422 kB / 488.3 MB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.2279, allocations: 2.501 MB / 490.8 MB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2279, allocations: 5.281 kB / 490.8 MB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.2283, allocations: 146.7 kB / 491 MB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008892/0.2292, allocations: 0.5233 MB / 491.5 MB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.2292, allocations: 27.62 kB / 491.5 MB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001476/0.2294, allocations: 59.97 kB / 491.6 MB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2294, allocations: 1.531 kB / 491.6 MB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.2318, allocations: 2.32 MB / 493.9 MB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.2321, allocations: 198.9 kB / 494.1 MB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.2321, allocations: 29.25 kB / 494.1 MB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2324, allocations: 43.36 kB / 494.2 MB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2325, allocations: 83.19 kB / 494.3 MB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.2326, allocations: 34.72 kB / 494.3 MB, free: 18.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.2328, allocations: 274.9 kB / 494.6 MB, free: 18.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2328, allocations: 64 / 494.6 MB, free: 18.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007603/0.2336, allocations: 358.1 kB / 494.9 MB, free: 18.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000253/0.2338, allocations: 165.7 kB / 495.1 MB, free: 18.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2357, allocations: 1.277 MB / 496.3 MB, free: 17.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2357, allocations: 0 / 496.3 MB, free: 17.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.2367, allocations: 0.6812 MB / 497 MB, free: 17.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.2371, allocations: 100.2 kB / 497.1 MB, free: 17.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.2396, allocations: 2.088 MB / 499.2 MB, free: 16.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.2401, allocations: 454 kB / 499.7 MB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.2403, allocations: 77 kB / 499.7 MB, free: 16.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2403, allocations: 4 kB / 499.7 MB, free: 16.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01402/0.2543, allocations: 17.21 MB / 0.5048 GB, free: 6.457 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 5.697744741104543]