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.00158/0.00158, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001949/0.001949, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 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.2248/0.2248, allocations: 46.93 MB / 361.6 MB, free: 4.359 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002118/0.002118, allocations: 59.91 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 66.03 MB / 0.5619 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009842/0.3648, allocations: 7.558 MB / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.3698, allocations: 2.38 MB / 0.5716 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/0.3707, allocations: 27.94 kB / 0.5716 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.375, allocations: 1.757 MB / 0.5733 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.3775, allocations: 0.703 MB / 0.574 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.3794, allocations: 0.753 MB / 0.5747 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3815, allocations: 1.245 MB / 0.576 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.3833, allocations: 0.8786 MB / 0.5768 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009695/0.3842, allocations: 0.5253 MB / 0.5773 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.3854, allocations: 0.6692 MB / 0.578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.3857, allocations: 108 kB / 0.5781 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000953/0.3866, allocations: 291.8 kB / 0.5784 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.3869, allocations: 275 kB / 0.5786 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009129/0.3879, allocations: 0.6141 MB / 0.5792 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.3904, allocations: 1.611 MB / 0.5808 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3904, allocations: 0 / 0.5808 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3904, allocations: 0 / 0.5808 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.202e-05/0.3905, allocations: 0 / 0.5808 GB, free: 0.9609 MB / 414.1 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.005261/0.3957, allocations: 1.757 MB / 0.5825 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3958, allocations: 8.031 kB / 0.5825 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009416/0.4052, allocations: 1.268 MB / 0.5838 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.4066, allocations: 0.504 MB / 0.5843 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.4068, allocations: 103 kB / 0.5843 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/0.4072, allocations: 136.1 kB / 0.5845 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.4101, allocations: 1.253 MB / 0.5857 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.4101, allocations: 0 / 0.5857 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.4103, allocations: 56 kB / 0.5858 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.4103, allocations: 35.94 kB / 0.5858 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.4131, allocations: 1.455 MB / 0.5872 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00878/0.4218, allocations: 4.198 MB / 0.5913 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.4237, allocations: 0.8218 MB / 0.5921 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.4243, allocations: 336.2 kB / 0.5924 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.4245, allocations: 44.94 kB / 0.5925 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.4245, allocations: 43.56 kB / 0.5925 GB, free: 4.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.785e-06/0.4245, allocations: 0 / 0.5925 GB, free: 4.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002397/0.4269, allocations: 1.06 MB / 0.5936 GB, free: 3.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.427, allocations: 60.41 kB / 0.5936 GB, free: 3.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.4282, allocations: 0.8209 MB / 0.5944 GB, free: 2.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.4283, allocations: 41.7 kB / 0.5945 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.4287, allocations: 0.5117 MB / 0.595 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.4291, allocations: 329.3 kB / 0.5953 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.4294, allocations: 198.9 kB / 0.5955 GB, free: 1.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.4296, allocations: 402.7 kB / 0.5958 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.4303, allocations: 354.5 kB / 0.5962 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.4312, allocations: 0.623 MB / 0.5968 GB, free: 192 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.4328, allocations: 0.9953 MB / 0.5978 GB, free: 15.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.4328, allocations: 0 / 0.5978 GB, free: 15.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002367/0.4352, allocations: 1.194 MB / 0.5989 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.4352, allocations: 18.53 kB / 0.5989 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4353, allocations: 8 kB / 0.5989 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.4356, allocations: 69.67 kB / 0.599 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.4366, allocations: 267.5 kB / 0.5993 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.4391, allocations: 2.625 MB / 0.6018 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4401, allocations: 150.8 kB / 0.602 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4402, allocations: 51.98 kB / 0.602 GB, free: 10.46 MB / 446.1 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.0005126/0.4407, allocations: 263 kB / 0.6023 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.441, allocations: 103.3 kB / 0.6024 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.443, allocations: 1.103 MB / 0.6035 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4431, allocations: 8 kB / 0.6035 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.4431, allocations: 0 / 0.6035 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4431, allocations: 7.984 kB / 0.6035 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.4474, allocations: 2.396 MB / 0.6058 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.4474, allocations: 20.09 kB / 0.6058 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.4481, allocations: 175.8 kB / 0.606 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.4484, allocations: 65.61 kB / 0.6061 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.4485, allocations: 27.98 kB / 0.6061 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.4508, allocations: 2.61 MB / 0.6086 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.4508, allocations: 12.16 kB / 0.6086 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.4534, allocations: 1.489 MB / 0.6101 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.4537, allocations: 119.2 kB / 0.6102 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.4539, allocations: 31.89 kB / 0.6102 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.4546, allocations: 52.03 kB / 0.6103 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4548, allocations: 84.34 kB / 0.6104 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.4549, allocations: 43.98 kB / 0.6104 GB, free: 1.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000865/0.4557, allocations: 0.5771 MB / 0.611 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4557, allocations: 0 / 0.611 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001181/0.4569, allocations: 307.6 kB / 0.6113 GB, free: 496 kB / 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 (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.0003774/0.4573, allocations: 175 kB / 0.6114 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.4595, allocations: 1.055 MB / 0.6125 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.4595, allocations: 4 kB / 0.6125 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.4605, allocations: 0.592 MB / 0.6131 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.4615, allocations: 123.3 kB / 0.6132 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.4652, allocations: 1.902 MB / 0.615 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.466, allocations: 1.016 MB / 0.616 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.4664, allocations: 107.4 kB / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4664, allocations: 0 / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of Templates: time 0.03187/0.4983, allocations: 21.98 MB / 0.6376 GB, free: 5.305 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 9.31725123198703]