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.002044/0.002044, allocations: 73.09 kB / 19.93 MB, free: 1.773 MB / 14.72 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.002685/0.002685, allocations: 170.5 kB / 23.22 MB, free: 4.883 MB / 14.72 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 1.615/1.615, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.2539/0.2539, allocations: 32.39 MB / 269.6 MB, free: 2.82 MB / 254.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 407.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.618e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008917/0.008954, allocations: 6.112 MB / 413.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.01418, allocations: 2.089 MB / 415.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.015, allocations: 23.94 kB / 415.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.01891, allocations: 1.497 MB / 417.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.02124, allocations: 0.7029 MB / 417.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.02289, allocations: 0.6814 MB / 418.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.02458, allocations: 1.221 MB / 419.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.02585, allocations: 0.7724 MB / 420.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009274/0.02677, allocations: 0.6975 MB / 421.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.0274, allocations: 486.6 kB / 421.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.02755, allocations: 96 kB / 421.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.02832, allocations: 279.6 kB / 422 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.02858, allocations: 262.9 kB / 422.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.02906, allocations: 394.9 kB / 422.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.03123, allocations: 1.491 MB / 424.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.03123, allocations: 0 / 424.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.03124, allocations: 0 / 424.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.03125, allocations: 0 / 424.1 MB, free: 15.97 MB / 366.1 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.004754/0.03601, allocations: 1.648 MB / 425.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/0.03607, allocations: 8.031 kB / 425.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.04694, allocations: 1.432 MB / 427.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.04867, allocations: 495.5 kB / 427.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.04877, allocations: 94.42 kB / 427.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.049, allocations: 132 kB / 427.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.05171, allocations: 1.36 MB / 429.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.05175, allocations: 4 kB / 429.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.05187, allocations: 52 kB / 429.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.05191, allocations: 32 kB / 429.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.0546, allocations: 1.415 MB / 430.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/0.06284, allocations: 3.331 MB / 434.1 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.06525, allocations: 0.835 MB / 435 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.06605, allocations: 339.6 kB / 435.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.06618, allocations: 20.98 kB / 435.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.967e-05/0.06627, allocations: 47.55 kB / 435.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 5.49e-06/0.06627, allocations: 0 / 435.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.00313/0.0694, allocations: 1.021 MB / 436.4 MB, free: 3.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.06949, allocations: 60.41 kB / 436.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/0.07045, allocations: 0.5092 MB / 436.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.07066, allocations: 41.7 kB / 437 MB, free: 2.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.07116, allocations: 0.5076 MB / 437.5 MB, free: 2.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.07151, allocations: 325.2 kB / 437.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.07189, allocations: 198.8 kB / 438 MB, free: 1.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003006/0.07219, allocations: 374.7 kB / 438.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.07289, allocations: 342.5 kB / 438.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.07397, allocations: 0.6063 MB / 439.3 MB, free: 388 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.07571, allocations: 0.9789 MB / 440.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.07572, allocations: 0 / 440.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002256/0.07797, allocations: 1.147 MB / 441.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.078, allocations: 8 kB / 441.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.07802, allocations: 16 kB / 441.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.0784, allocations: 65.67 kB / 441.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.07953, allocations: 263.6 kB / 441.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.08232, allocations: 2.564 MB / 444.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/0.08321, allocations: 119.1 kB / 444.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-05/0.08331, allocations: 52 kB / 444.5 MB, free: 10.84 MB / 382.1 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.0005324/0.08384, allocations: 251.9 kB / 444.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.084, allocations: 71.58 kB / 444.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.08619, allocations: 1.092 MB / 445.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.0862, allocations: 8 kB / 445.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.0862, allocations: 0 / 445.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.08622, allocations: 3.984 kB / 445.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.08996, allocations: 2.041 MB / 448 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.08997, allocations: 4 kB / 448 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.09074, allocations: 179.7 kB / 448.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.09098, allocations: 73.55 kB / 448.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.09105, allocations: 27.98 kB / 448.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.09345, allocations: 2.56 MB / 450.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.09346, allocations: 8 kB / 450.8 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.09597, allocations: 1.447 MB / 452.3 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.09613, allocations: 95.3 kB / 452.4 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.09625, allocations: 24 kB / 452.4 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.0969, allocations: 56.03 kB / 452.4 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.09711, allocations: 76.41 kB / 452.5 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.09718, allocations: 40 kB / 452.6 MB, free: 2.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004936/0.09767, allocations: 355.1 kB / 452.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09767, allocations: 0 / 452.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001189/0.09886, allocations: 323.2 kB / 453.2 MB, free: 1.676 MB / 382.1 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.0003443/0.0992, allocations: 163 kB / 453.4 MB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.1015, allocations: 1.054 MB / 454.4 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.1015, allocations: 4 kB / 454.4 MB, free: 432 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2471/0.3486, allocations: 0.5865 MB / 455 MB, free: 55.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3497, allocations: 88.7 kB / 455.1 MB, free: 55.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.3537, allocations: 1.775 MB / 456.9 MB, free: 54.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.3543, allocations: 406.5 kB / 457.3 MB, free: 54.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005573/0.3549, allocations: 123.8 kB / 457.4 MB, free: 54.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3551, allocations: 71.73 kB / 457.5 MB, free: 54.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3551, allocations: 0 / 457.5 MB, free: 54.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02228/0.3774, allocations: 8.545 MB / 466 MB, free: 53.25 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] 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: 6.037000805139542]