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.001339/0.001339, allocations: 79.66 kB / 20.52 MB, free: 1.281 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.00154/0.00154, allocations: 163.4 kB / 23.76 MB, free: 4.469 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.519/1.519, allocations: 158.6 MB / 185.5 MB, free: 6.215 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.2266/0.2266, allocations: 32.39 MB / 270.1 MB, free: 2.691 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 71.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1486, allocations: 61.04 MB / 468.8 MB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009002/0.1576, allocations: 6.102 MB / 474.9 MB, free: 2.168 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005609/0.1632, allocations: 2.089 MB / 477 MB, free: 72 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007705/0.1639, allocations: 23.94 kB / 477 MB, free: 48 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3025/0.4665, allocations: 1.487 MB / 478.5 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.4687, allocations: 0.6905 MB / 479.2 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.47, allocations: 0.6836 MB / 479.9 MB, free: 43.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.471, allocations: 1.178 MB / 481.1 MB, free: 43.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.4721, allocations: 0.7621 MB / 481.8 MB, free: 43.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007049/0.4728, allocations: 494.3 kB / 482.3 MB, free: 43.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.4734, allocations: 0.5572 MB / 482.9 MB, free: 43.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.4736, allocations: 96.81 kB / 482.9 MB, free: 43.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.4745, allocations: 271.6 kB / 483.2 MB, free: 43.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.4747, allocations: 256.9 kB / 483.5 MB, free: 43.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.4752, allocations: 477.6 kB / 483.9 MB, free: 43.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.4769, allocations: 1.49 MB / 485.4 MB, free: 42.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4769, allocations: 0 / 485.4 MB, free: 42.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4769, allocations: 0 / 485.4 MB, free: 42.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4769, allocations: 3.219 kB / 485.4 MB, free: 42.81 MB / 446.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.003623/0.4805, allocations: 1.659 MB / 487.1 MB, free: 41.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4806, allocations: 6.406 kB / 487.1 MB, free: 41.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009828/0.4904, allocations: 1.43 MB / 488.5 MB, free: 41.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.4915, allocations: 498.2 kB / 489 MB, free: 41.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.4915, allocations: 98.08 kB / 489.1 MB, free: 41.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.4917, allocations: 122 kB / 489.2 MB, free: 41.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.4938, allocations: 1.359 MB / 490.6 MB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.4938, allocations: 11.2 kB / 490.6 MB, free: 40.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.4939, allocations: 49.31 kB / 490.6 MB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.494, allocations: 31.44 kB / 490.7 MB, free: 40.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.496, allocations: 1.414 MB / 492.1 MB, free: 40.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.502, allocations: 3.339 MB / 495.4 MB, free: 38.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5035, allocations: 0.8303 MB / 496.3 MB, free: 37.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.504, allocations: 333.2 kB / 496.6 MB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.5041, allocations: 27.23 kB / 496.6 MB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5041, allocations: 42.62 kB / 496.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 3.456e-06/0.5041, allocations: 0 / 496.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=91): time 0.001917/0.506, allocations: 1.016 MB / 497.7 MB, free: 37.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5061, allocations: 62.91 kB / 497.7 MB, free: 37.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.5066, allocations: 0.5054 MB / 498.2 MB, free: 37.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.5066, allocations: 45.17 kB / 498.3 MB, free: 36.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.5068, allocations: 0.5132 MB / 498.8 MB, free: 36.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.5069, allocations: 325.1 kB / 499.1 MB, free: 36.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5072, allocations: 201.1 kB / 499.3 MB, free: 36.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.5073, allocations: 369.6 kB / 499.7 MB, free: 35.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.5078, allocations: 347.8 kB / 0.4883 GB, free: 35.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.5084, allocations: 0.6109 MB / 0.4889 GB, free: 35.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5096, allocations: 0.9747 MB / 0.4898 GB, free: 34.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5096, allocations: 3.312 kB / 0.4898 GB, free: 34.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001729/0.5113, allocations: 1.143 MB / 0.4909 GB, free: 34.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5113, allocations: 16.45 kB / 0.491 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5113, allocations: 6.031 kB / 0.491 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.5116, allocations: 74.58 kB / 0.491 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/0.5126, allocations: 262 kB / 0.4913 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.5142, allocations: 2.574 MB / 0.4938 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/0.5151, allocations: 116.1 kB / 0.4939 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.5151, allocations: 52.27 kB / 0.494 GB, free: 31.44 MB / 446.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.0003939/0.5155, allocations: 251.5 kB / 0.4942 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.5156, allocations: 69.83 kB / 0.4943 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.5176, allocations: 1.085 MB / 0.4953 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.5176, allocations: 14.97 kB / 0.4953 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5176, allocations: 1.156 kB / 0.4953 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5176, allocations: 7.453 kB / 0.4954 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.5208, allocations: 2.046 MB / 0.4974 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5208, allocations: 6.094 kB / 0.4974 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.5215, allocations: 179.4 kB / 0.4975 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.5217, allocations: 70.44 kB / 0.4976 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.5218, allocations: 24.34 kB / 0.4976 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.5232, allocations: 2.571 MB / 0.5001 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.5232, allocations: 10.69 kB / 0.5001 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.5254, allocations: 1.45 MB / 0.5016 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.5255, allocations: 97.14 kB / 0.5016 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.5256, allocations: 23.91 kB / 0.5017 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.5262, allocations: 49.23 kB / 0.5017 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.5264, allocations: 85.48 kB / 0.5018 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.5264, allocations: 30.66 kB / 0.5018 GB, free: 25.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004001/0.5268, allocations: 353.1 kB / 0.5022 GB, free: 25.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5268, allocations: 0 / 0.5022 GB, free: 25.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001126/0.528, allocations: 333.4 kB / 0.5025 GB, free: 25.65 MB / 446.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.0002653/0.5282, allocations: 162.7 kB / 0.5026 GB, free: 25.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.5302, allocations: 1.051 MB / 0.5037 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.5302, allocations: 2.031 kB / 0.5037 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.5312, allocations: 0.5969 MB / 0.5043 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.5318, allocations: 89.3 kB / 0.5043 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.5351, allocations: 1.822 MB / 0.5061 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.5355, allocations: 406.9 kB / 0.5065 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004933/0.536, allocations: 130.5 kB / 0.5066 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5362, allocations: 72.17 kB / 0.5067 GB, free: 23.3 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5362, allocations: 0 / 0.5067 GB, free: 23.3 MB / 446.1 MB Notification: Performance of Templates: time 0.02045/0.5566, allocations: 8.554 MB / 0.515 GB, free: 22.22 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 5.85720827197656]