Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001911/0.001911, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003306/0.003306, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.367/0.367, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.512e-05, allocations: 5.688 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.0105/0.01053, allocations: 7.227 MB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.01553, allocations: 2.279 MB / 386.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.01602, allocations: 27.94 kB / 386.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.02062, allocations: 1.831 MB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.02295, allocations: 0.7144 MB / 389.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.0247, allocations: 0.7345 MB / 390.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.02668, allocations: 1.287 MB / 391.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.02821, allocations: 0.8555 MB / 392.2 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.02942, allocations: 0.756 MB / 393 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.03017, allocations: 0.5181 MB / 393.5 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.03034, allocations: 104 kB / 393.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.03107, allocations: 283.7 kB / 393.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.03148, allocations: 278.9 kB / 394.2 MB, free: 1.992 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.03201, allocations: 426.8 kB / 394.6 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.03439, allocations: 1.639 MB / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.03439, allocations: 0 / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0344, allocations: 0 / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.03442, allocations: 3.938 kB / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004758/0.03917, allocations: 1.951 MB / 398.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.03922, allocations: 16.03 kB / 398.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009838/0.04905, allocations: 1.584 MB / 399.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.05019, allocations: 0.5061 MB / 400.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.05029, allocations: 103 kB / 400.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.05052, allocations: 140.3 kB / 400.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.05325, allocations: 1.379 MB / 401.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.05329, allocations: 3.938 kB / 401.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.05343, allocations: 56 kB / 402 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.05346, allocations: 32 kB / 402 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.05616, allocations: 1.396 MB / 403.4 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008693/0.06485, allocations: 4.121 MB / 407.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.06683, allocations: 0.8229 MB / 408.3 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/0.0676, allocations: 345 kB / 408.7 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.06772, allocations: 40.97 kB / 408.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.06777, allocations: 46.38 kB / 408.7 MB, free: 3.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.615e-06/0.06777, allocations: 0 / 408.7 MB, free: 3.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.002435/0.07021, allocations: 1.03 MB / 409.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.07026, allocations: 60.41 kB / 409.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.07106, allocations: 0.6155 MB / 410.5 MB, free: 1.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.07113, allocations: 41.7 kB / 410.5 MB, free: 1.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.07162, allocations: 0.6117 MB / 411.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.07196, allocations: 337.2 kB / 411.4 MB, free: 400 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.07235, allocations: 236.5 kB / 411.7 MB, free: 156 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003682/0.07272, allocations: 0.5782 MB / 412.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.07339, allocations: 322.5 kB / 412.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.07448, allocations: 0.721 MB / 413.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.07631, allocations: 1.113 MB / 414.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.07632, allocations: 4 kB / 414.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002484/0.07881, allocations: 1.18 MB / 415.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.07883, allocations: 16 kB / 415.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.07885, allocations: 8 kB / 415.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.07927, allocations: 95.25 kB / 415.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.08036, allocations: 263.6 kB / 416 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.08355, allocations: 3.628 MB / 419.6 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.08437, allocations: 111.1 kB / 419.7 MB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.08448, allocations: 63.91 kB / 419.8 MB, free: 7.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0004975/0.08498, allocations: 304.2 kB / 420 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.08517, allocations: 91.62 kB / 420.1 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.08739, allocations: 1.158 MB / 421.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.0874, allocations: 8 kB / 421.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.08741, allocations: 0 / 421.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.08742, allocations: 7.969 kB / 421.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.09189, allocations: 2.408 MB / 423.7 MB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.0919, allocations: 8 kB / 423.7 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.09268, allocations: 175.7 kB / 423.9 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.09306, allocations: 91.5 kB / 424 MB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.09312, allocations: 27.98 kB / 424 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.09629, allocations: 3.629 MB / 427.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.0963, allocations: 8 kB / 427.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.09911, allocations: 1.549 MB / 429.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.09931, allocations: 87.5 kB / 429.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.09943, allocations: 27.94 kB / 429.3 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/0.1001, allocations: 47.98 kB / 429.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.1002, allocations: 88.33 kB / 429.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.1003, allocations: 32 kB / 429.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007044/0.101, allocations: 415 kB / 429.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.101, allocations: 0 / 429.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001333/0.1023, allocations: 355.1 kB / 430.2 MB, free: 12.4 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 (93): * Single equations (assignments): 91 * 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.0003983/0.1027, allocations: 167 kB / 430.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.1051, allocations: 1.208 MB / 431.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.1051, allocations: 0 / 431.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.1062, allocations: 0.7439 MB / 432.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.107, allocations: 97.83 kB / 432.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.1107, allocations: 1.899 MB / 434.3 MB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.1112, allocations: 423.5 kB / 434.8 MB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005724/0.1118, allocations: 129.9 kB / 434.9 MB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.1121, allocations: 76.47 kB / 435 MB, free: 7.422 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.1121, allocations: 0 / 435 MB, free: 7.422 MB / 410.7 MB Notification: Performance of Templates: time 0.1569/0.269, allocations: 9.017 MB / 444 MB, free: 98.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.602533322060481]