Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008136/0.0008136, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009557/0.0009557, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7869/0.7869, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1205/0.1205, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.875e-05, allocations: 5.516 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.004908/0.004927, allocations: 6.099 MB / 413 MB, free: 7.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.008231, allocations: 2.096 MB / 415.1 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.008807, allocations: 23.94 kB / 415.1 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.01068, allocations: 1.493 MB / 416.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.0123, allocations: 0.7068 MB / 417.3 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.01324, allocations: 0.6814 MB / 418 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.01436, allocations: 1.225 MB / 419.2 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009492/0.01531, allocations: 0.7685 MB / 419.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000743/0.01605, allocations: 0.6938 MB / 420.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.01649, allocations: 482.6 kB / 421.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.01661, allocations: 100 kB / 421.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.01714, allocations: 275.6 kB / 421.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01726, allocations: 258.9 kB / 421.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.01753, allocations: 398.9 kB / 422.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.01882, allocations: 1.487 MB / 423.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01883, allocations: 7.938 kB / 423.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01883, allocations: 3.938 kB / 423.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.01886, allocations: 0 / 423.6 MB, free: 12.65 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002779/0.02163, allocations: 1.648 MB / 425.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.02167, allocations: 8.031 kB / 425.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.02182, allocations: 186.1 kB / 425.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.02645, allocations: 1.428 MB / 426.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.02731, allocations: 499.2 kB / 427.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.02736, allocations: 94.48 kB / 427.5 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.02749, allocations: 127.9 kB / 427.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.02897, allocations: 1.353 MB / 428.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.029, allocations: 15.98 kB / 429 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.02908, allocations: 52 kB / 429 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.02909, allocations: 28 kB / 429 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.03059, allocations: 1.419 MB / 430.5 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.03528, allocations: 3.558 MB / 434 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.03633, allocations: 0.8387 MB / 434.9 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.03669, allocations: 339.2 kB / 435.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.03675, allocations: 16.98 kB / 435.2 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.03678, allocations: 51.55 kB / 435.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 2.585e-06/0.03678, allocations: 0 / 435.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.1436/0.1804, allocations: 1.042 MB / 436.3 MB, free: 38.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1804, allocations: 61.89 kB / 436.4 MB, free: 38.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.1813, allocations: 0.819 MB / 437.2 MB, free: 38.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/0.1814, allocations: 41.77 kB / 437.2 MB, free: 38.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1816, allocations: 491.5 kB / 437.7 MB, free: 38.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.1817, allocations: 321.9 kB / 438 MB, free: 38.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.182, allocations: 200.6 kB / 438.2 MB, free: 38.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1821, allocations: 399 kB / 438.6 MB, free: 37.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.1825, allocations: 340.7 kB / 438.9 MB, free: 37.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.1831, allocations: 0.6042 MB / 439.5 MB, free: 37.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009509/0.184, allocations: 0.9787 MB / 440.5 MB, free: 36.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.184, allocations: 1.375 kB / 440.5 MB, free: 36.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001433/0.1855, allocations: 1.171 MB / 441.7 MB, free: 35.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.1855, allocations: 8.25 kB / 441.7 MB, free: 35.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.1855, allocations: 8.656 kB / 441.7 MB, free: 35.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.1857, allocations: 72.59 kB / 441.8 MB, free: 35.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.1863, allocations: 260.2 kB / 442 MB, free: 35.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.1875, allocations: 2.619 MB / 444.6 MB, free: 33.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.1881, allocations: 154 kB / 444.8 MB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.1881, allocations: 49.59 kB / 444.8 MB, free: 33.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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.0002915/0.1884, allocations: 254.2 kB / 445.1 MB, free: 33.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.1885, allocations: 97.38 kB / 445.2 MB, free: 33.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1897, allocations: 1.114 MB / 446.3 MB, free: 32.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1897, allocations: 9 kB / 446.3 MB, free: 32.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1897, allocations: 1.891 kB / 446.3 MB, free: 32.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1898, allocations: 4.406 kB / 446.3 MB, free: 32.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.1925, allocations: 2.144 MB / 448.5 MB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.1925, allocations: 6.25 kB / 448.5 MB, free: 31.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.193, allocations: 188.7 kB / 448.6 MB, free: 31.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.1931, allocations: 63.09 kB / 448.7 MB, free: 31.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.1931, allocations: 26.97 kB / 448.7 MB, free: 31.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000892/0.194, allocations: 2.607 MB / 451.3 MB, free: 28.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.194, allocations: 7.344 kB / 451.4 MB, free: 28.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.1955, allocations: 1.475 MB / 452.8 MB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.1957, allocations: 120.1 kB / 452.9 MB, free: 27.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-05/0.1958, allocations: 32.05 kB / 453 MB, free: 27.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.1961, allocations: 51.2 kB / 453 MB, free: 27.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.1962, allocations: 89.89 kB / 453.1 MB, free: 27.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.1963, allocations: 31.89 kB / 453.1 MB, free: 27.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005689/0.1968, allocations: 0.5688 MB / 453.7 MB, free: 27.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1968, allocations: 0 / 453.7 MB, free: 27.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008079/0.1977, allocations: 295.2 kB / 454 MB, free: 27.27 MB / 362.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 (94): * Single equations (assignments): 92 * 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.001755/0.1994, allocations: 2.079 MB / 456.1 MB, free: 25.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.2008, allocations: 1.046 MB / 457.1 MB, free: 25.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2008, allocations: 1.375 kB / 457.1 MB, free: 25.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.2014, allocations: 0.5992 MB / 457.7 MB, free: 24.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.202, allocations: 123.5 kB / 457.8 MB, free: 24.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008437/0.2104, allocations: 8.306 MB / 466.2 MB, free: 19.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.2107, allocations: 411.2 kB / 466.6 MB, free: 19.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.211, allocations: 155.1 kB / 466.7 MB, free: 19.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.2113, allocations: 363 kB / 467.1 MB, free: 19.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2113, allocations: 0 / 467.1 MB, free: 19.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.2464, allocations: 20.46 MB / 487.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.68, allocations: 7.938 kB / 487.5 MB, free: 15.45 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.619620949961245]