Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.0008951/0.0008951, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008756/0.0008756, 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.8775/0.8775, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2337/0.2337, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.833e-05, allocations: 2.281 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.199/0.199, allocations: 6.134 MB / 445.7 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.203, allocations: 2.143 MB / 447.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.2035, allocations: 25.62 kB / 447.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.2052, allocations: 1.486 MB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.2065, allocations: 0.6899 MB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.2073, allocations: 0.6807 MB / 450.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000728/0.2081, allocations: 1.197 MB / 451.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.2088, allocations: 0.7588 MB / 452.7 MB, free: 39.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.2093, allocations: 0.6806 MB / 453.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.2096, allocations: 476.9 kB / 453.8 MB, free: 39.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.2097, allocations: 93.28 kB / 453.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.2101, allocations: 276.3 kB / 454.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2102, allocations: 252 kB / 454.5 MB, free: 39.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.2104, allocations: 390.8 kB / 454.8 MB, free: 38.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.2114, allocations: 1.474 MB / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2114, allocations: 0 / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2114, allocations: 0 / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.2114, allocations: 7.344 kB / 456.3 MB, free: 38.35 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002297/0.2137, allocations: 1.624 MB / 457.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2138, allocations: 13.47 kB / 458 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.2139, allocations: 177.9 kB / 458.1 MB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/0.2184, allocations: 1.26 MB / 459.4 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.2193, allocations: 491.7 kB / 459.9 MB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.2193, allocations: 89.22 kB / 460 MB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2195, allocations: 125.9 kB / 460.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.2208, allocations: 1.326 MB / 461.4 MB, free: 35.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.2208, allocations: 3.125 kB / 461.4 MB, free: 35.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.2209, allocations: 50.91 kB / 461.5 MB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2209, allocations: 29.16 kB / 461.5 MB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2222, allocations: 1.365 MB / 462.8 MB, free: 35.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.2261, allocations: 3.544 MB / 466.4 MB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.227, allocations: 0.7949 MB / 467.2 MB, free: 33.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.2273, allocations: 328.5 kB / 467.5 MB, free: 33.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.2274, allocations: 34.28 kB / 467.5 MB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2275, allocations: 42.53 kB / 467.6 MB, free: 33.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=89): time 3.797e-06/0.2275, allocations: 0 / 467.6 MB, free: 33.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.001453/0.2289, allocations: 1.055 MB / 468.6 MB, free: 32.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2289, allocations: 61.53 kB / 468.7 MB, free: 32.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.2296, allocations: 0.8003 MB / 469.5 MB, free: 32.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.2296, allocations: 40.64 kB / 469.5 MB, free: 32.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2298, allocations: 470.3 kB / 470 MB, free: 31.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2299, allocations: 315.2 kB / 470.3 MB, free: 31.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.2301, allocations: 191.8 kB / 470.5 MB, free: 31.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.2302, allocations: 398.8 kB / 470.9 MB, free: 31.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.2305, allocations: 339.8 kB / 471.2 MB, free: 30.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.231, allocations: 0.5689 MB / 471.8 MB, free: 30.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.2318, allocations: 0.9279 MB / 472.7 MB, free: 29.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.2318, allocations: 3.188 kB / 472.7 MB, free: 29.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001245/0.2331, allocations: 1.141 MB / 473.9 MB, free: 29.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2331, allocations: 6.094 kB / 473.9 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2331, allocations: 8.875 kB / 473.9 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.2333, allocations: 68.95 kB / 473.9 MB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.2338, allocations: 247.8 kB / 474.2 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2349, allocations: 2.616 MB / 476.8 MB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.2354, allocations: 149.1 kB / 476.9 MB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.2355, allocations: 47.39 kB / 477 MB, free: 26.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.2357, allocations: 242.4 kB / 477.2 MB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/0.2358, allocations: 92.41 kB / 477.3 MB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.2369, allocations: 1.098 MB / 478.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2369, allocations: 8.969 kB / 478.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.237, allocations: 0 / 478.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.237, allocations: 11.45 kB / 478.4 MB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.2391, allocations: 2.172 MB / 480.6 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2391, allocations: 8 kB / 480.6 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.2395, allocations: 175.5 kB / 480.8 MB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.2396, allocations: 69.39 kB / 480.9 MB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.2396, allocations: 27.22 kB / 480.9 MB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009524/0.2406, allocations: 2.609 MB / 483.5 MB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2406, allocations: 9.656 kB / 483.5 MB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2421, allocations: 1.458 MB / 485 MB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.2423, allocations: 119.7 kB / 485.1 MB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.2424, allocations: 19.25 kB / 485.1 MB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.2427, allocations: 55.84 kB / 485.1 MB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2428, allocations: 86.48 kB / 485.2 MB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.2428, allocations: 34.94 kB / 485.3 MB, free: 20.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005195/0.2434, allocations: 0.5554 MB / 485.8 MB, free: 20.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2434, allocations: 0 / 485.8 MB, free: 20.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008112/0.2442, allocations: 297.4 kB / 486.1 MB, free: 20.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (92): * Single equations (assignments): 90 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/0.2459, allocations: 2.069 MB / 488.2 MB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2472, allocations: 1.027 MB / 489.2 MB, free: 18.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2472, allocations: 2.312 kB / 489.2 MB, free: 18.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.2479, allocations: 0.582 MB / 489.8 MB, free: 18.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.2486, allocations: 139.1 kB / 489.9 MB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/0.2574, allocations: 8.089 MB / 498 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.2577, allocations: 402.1 kB / 498.4 MB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.2581, allocations: 151.9 kB / 498.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.2584, allocations: 361.7 kB / 498.9 MB, free: 13.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2584, allocations: 3.938 kB / 498.9 MB, free: 13.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.2999, allocations: 20.5 MB / 0.5072 GB, free: 3.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.717, allocations: 12 kB / 0.5072 GB, free: 3.648 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.77578626293689]