Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001413/0.001413, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001642/0.001642, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002334/0.002334, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3546, allocations: 65.47 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008792/0.3634, allocations: 6.128 MB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.368, allocations: 2.146 MB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.3689, allocations: 23.94 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.3726, allocations: 1.411 MB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.3748, allocations: 0.6716 MB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.3766, allocations: 0.6876 MB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.3783, allocations: 1.155 MB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.3795, allocations: 0.7526 MB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.3802, allocations: 490.1 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.3808, allocations: 0.5327 MB / 0.5718 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.381, allocations: 99.94 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006878/0.3817, allocations: 271.8 kB / 0.5722 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.3819, allocations: 251 kB / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.3823, allocations: 465.7 kB / 0.5729 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3841, allocations: 1.471 MB / 0.5743 GB, free: 6.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3841, allocations: 0 / 0.5743 GB, free: 6.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3841, allocations: 0 / 0.5743 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3841, allocations: 0 / 0.5743 GB, free: 6.887 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004041/0.3881, allocations: 1.642 MB / 0.5759 GB, free: 5.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3882, allocations: 8.031 kB / 0.5759 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/0.3974, allocations: 1.257 MB / 0.5772 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3986, allocations: 500 kB / 0.5776 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.3987, allocations: 86.41 kB / 0.5777 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.3989, allocations: 120 kB / 0.5778 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.4013, allocations: 1.328 MB / 0.5791 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.4013, allocations: 7.922 kB / 0.5791 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.4014, allocations: 52 kB / 0.5792 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.4015, allocations: 32 kB / 0.5792 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.4038, allocations: 1.36 MB / 0.5805 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/0.4108, allocations: 3.318 MB / 0.5838 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.4125, allocations: 0.7962 MB / 0.5846 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.4131, allocations: 334.5 kB / 0.5849 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.4132, allocations: 32.95 kB / 0.5849 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.4132, allocations: 47.5 kB / 0.585 GB, free: 11.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.4133, allocations: 0 / 0.585 GB, free: 11.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002251/0.4155, allocations: 1.025 MB / 0.586 GB, free: 10.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4155, allocations: 64.41 kB / 0.586 GB, free: 10.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.4162, allocations: 497.3 kB / 0.5865 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.4162, allocations: 41.7 kB / 0.5865 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.4166, allocations: 0.4921 MB / 0.587 GB, free: 9.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.4168, allocations: 313.3 kB / 0.5873 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.4171, allocations: 194.8 kB / 0.5875 GB, free: 9.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4173, allocations: 370.8 kB / 0.5879 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.4179, allocations: 338.5 kB / 0.5882 GB, free: 8.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/0.4188, allocations: 0.57 MB / 0.5887 GB, free: 7.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.4203, allocations: 0.927 MB / 0.5896 GB, free: 6.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.4203, allocations: 7.938 kB / 0.5896 GB, free: 6.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002049/0.4223, allocations: 1.116 MB / 0.5907 GB, free: 5.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4224, allocations: 12.03 kB / 0.5907 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4224, allocations: 8 kB / 0.5908 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.4226, allocations: 61.67 kB / 0.5908 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.4236, allocations: 247.6 kB / 0.591 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.4259, allocations: 2.572 MB / 0.5936 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.4267, allocations: 103.2 kB / 0.5937 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.998e-05/0.4267, allocations: 47.98 kB / 0.5937 GB, free: 2.328 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004227/0.4272, allocations: 257.7 kB / 0.594 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.4273, allocations: 59.62 kB / 0.594 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.4292, allocations: 1.073 MB / 0.5951 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4292, allocations: 11.94 kB / 0.5951 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4293, allocations: 4 kB / 0.5951 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4293, allocations: 3.984 kB / 0.5951 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.4328, allocations: 2.061 MB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4328, allocations: 4.125 kB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.4335, allocations: 183.7 kB / 0.5973 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.4338, allocations: 61.69 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.4338, allocations: 27.98 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.436, allocations: 2.568 MB / 0.5999 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.436, allocations: 11.94 kB / 0.5999 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.4394, allocations: 1.45 MB / 0.6013 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.4397, allocations: 79.42 kB / 0.6014 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.4399, allocations: 24 kB / 0.6014 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.4406, allocations: 55.97 kB / 0.6014 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.4408, allocations: 80.41 kB / 0.6015 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.4409, allocations: 39.92 kB / 0.6016 GB, free: 9.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007409/0.4416, allocations: 343.1 kB / 0.6019 GB, free: 9.484 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4416, allocations: 3.938 kB / 0.6019 GB, free: 9.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001677/0.4433, allocations: 319.2 kB / 0.6022 GB, free: 9.168 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 (92): * Single equations (assignments): 90 * 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.0004497/0.4438, allocations: 167 kB / 0.6023 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002987/0.4468, allocations: 1.035 MB / 0.6034 GB, free: 7.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.4468, allocations: 0 / 0.6034 GB, free: 7.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.4483, allocations: 0.5921 MB / 0.6039 GB, free: 7.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4495, allocations: 89.8 kB / 0.604 GB, free: 7.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.4548, allocations: 1.796 MB / 0.6058 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.4555, allocations: 402.2 kB / 0.6062 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.456, allocations: 87.41 kB / 0.6062 GB, free: 4.805 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/0.456, allocations: 0 / 0.6062 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Templates: time 0.04891/0.505, allocations: 19.81 MB / 0.6256 GB, free: 0.9609 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.175746222957969]