Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001366/0.001366, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001713/0.001713, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2279/0.2279, allocations: 44.91 MB / 359.6 MB, free: 6.266 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.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.002294/0.002294, allocations: 71.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4127, allocations: 65.46 MB / 0.5582 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02402/0.4367, allocations: 19.88 MB / 0.5777 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.4496, allocations: 5.008 MB / 0.5825 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005721/0.4554, allocations: 194.9 kB / 0.5827 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01908/0.4744, allocations: 7.855 MB / 0.5904 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008811/0.4832, allocations: 2.106 MB / 0.5925 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.488, allocations: 1.43 MB / 0.5939 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01731/0.5053, allocations: 12.24 MB / 0.6058 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03497/0.5402, allocations: 16.87 MB / 0.6223 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.5538, allocations: 6.655 MB / 0.6288 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01569/0.5694, allocations: 7.292 MB / 0.6359 GB, free: 7.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006391/0.5758, allocations: 1.727 MB / 0.6376 GB, free: 6.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/0.584, allocations: 1.914 MB / 0.6395 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007841/0.5918, allocations: 3.659 MB / 0.643 GB, free: 460 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01588/0.6077, allocations: 7.011 MB / 0.6499 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03388/0.6416, allocations: 23.68 MB / 0.673 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.6416, allocations: 4 kB / 0.673 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6416, allocations: 0 / 0.673 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008546/0.6425, allocations: 0 / 0.673 GB, free: 1.652 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.0456/0.6881, allocations: 14.75 MB / 0.6874 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6881, allocations: 8.031 kB / 0.6874 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0601/0.7482, allocations: 11.17 MB / 0.6983 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/0.7686, allocations: 7.495 MB / 0.7056 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/0.7698, allocations: 0.8872 MB / 0.7065 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006936/0.7767, allocations: 1.176 MB / 0.7077 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05237/0.8291, allocations: 18.61 MB / 0.7258 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00044/0.8296, allocations: 19.91 kB / 0.7259 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005234/0.8348, allocations: 499.9 kB / 0.7263 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007984/0.8356, allocations: 0.6538 MB / 0.727 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5736/1.409, allocations: 19.14 MB / 0.7457 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08887/1.498, allocations: 59.52 MB / 0.8038 GB, free: 89.55 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.513, allocations: 10.7 MB / 0.8142 GB, free: 79.36 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005114/1.518, allocations: 4.216 MB / 0.8184 GB, free: 75.12 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/1.519, allocations: 240 kB / 0.8186 GB, free: 74.93 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/1.519, allocations: 103.7 kB / 0.8187 GB, free: 74.82 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 8.005e-06/1.519, allocations: 4 kB / 0.8187 GB, free: 74.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01567/1.534, allocations: 12.01 MB / 0.8304 GB, free: 62.72 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.534, allocations: 116.5 kB / 0.8305 GB, free: 62.59 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.545, allocations: 8.619 MB / 0.8389 GB, free: 54.03 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001152/1.546, allocations: 133.7 kB / 0.8391 GB, free: 53.89 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.549, allocations: 4.609 MB / 0.8436 GB, free: 49.78 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002084/1.551, allocations: 2.292 MB / 0.8458 GB, free: 47.48 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001904/1.553, allocations: 1.466 MB / 0.8472 GB, free: 46.01 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.057e-05/1.553, allocations: 301.1 kB / 0.8475 GB, free: 45.71 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00534/1.558, allocations: 4.121 MB / 0.8515 GB, free: 41.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006094/1.564, allocations: 6.917 MB / 0.8583 GB, free: 33.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.577, allocations: 11.99 MB / 0.87 GB, free: 20.05 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.85e-05/1.577, allocations: 24 kB / 0.87 GB, free: 20.03 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01874/1.596, allocations: 12.09 MB / 0.8818 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/1.596, allocations: 47.94 kB / 0.8819 GB, free: 7.777 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/1.596, allocations: 99.94 kB / 0.882 GB, free: 7.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008763/1.597, allocations: 412.9 kB / 0.8824 GB, free: 7.258 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/1.604, allocations: 2.008 MB / 0.8843 GB, free: 5.246 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00673/1.611, allocations: 8.98 MB / 0.8931 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008795/1.619, allocations: 1.385 MB / 0.8945 GB, free: 10.18 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002142/1.621, allocations: 383.9 kB / 0.8948 GB, free: 9.809 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.009783/1.631, allocations: 4.582 MB / 0.8993 GB, free: 5.211 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.633, allocations: 0.7374 MB / 0.9 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/1.652, allocations: 10.59 MB / 0.9104 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/1.652, allocations: 67.98 kB / 0.9104 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.652, allocations: 7.938 kB / 0.9104 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.75e-05/1.652, allocations: 35.81 kB / 0.9105 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4892/2.141, allocations: 152.6 MB / 1.059 GB, free: 194.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000191/2.141, allocations: 91.98 kB / 1.06 GB, free: 194 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005511/2.147, allocations: 1.552 MB / 1.061 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/2.147, allocations: 380.6 kB / 1.061 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008624/2.148, allocations: 255.9 kB / 1.062 GB, free: 191.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/2.153, allocations: 8.853 MB / 1.07 GB, free: 182.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.695e-05/2.153, allocations: 131.4 kB / 1.07 GB, free: 182.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01969/2.173, allocations: 18.64 MB / 1.089 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005185/2.178, allocations: 2.073 MB / 1.091 GB, free: 160.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/2.18, allocations: 243.9 kB / 1.091 GB, free: 160 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00531/2.185, allocations: 0.5502 MB / 1.091 GB, free: 159.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/2.186, allocations: 0.7611 MB / 1.092 GB, free: 158.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004919/2.187, allocations: 323.9 kB / 1.093 GB, free: 158.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008913/2.196, allocations: 6.047 MB / 1.098 GB, free: 152.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/2.196, allocations: 0 / 1.098 GB, free: 152.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0101/2.206, allocations: 2.64 MB / 1.101 GB, free: 149.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.001591/2.207, allocations: 0.502 MB / 1.101 GB, free: 149.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01361/2.221, allocations: 10.33 MB / 1.112 GB, free: 139.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.125e-05/2.221, allocations: 19.61 kB / 1.112 GB, free: 139 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007498/2.228, allocations: 5.282 MB / 1.117 GB, free: 133.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/2.24, allocations: 1.486 MB / 1.118 GB, free: 132.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03808/2.278, allocations: 24.6 MB / 1.142 GB, free: 106.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007894/2.286, allocations: 7.525 MB / 1.15 GB, free: 98.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003068/2.289, allocations: 0.6946 MB / 1.15 GB, free: 98.14 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/2.289, allocations: 4 kB / 1.15 GB, free: 98.13 MB / 0.67 GB Notification: Performance of Templates: time 1.009/3.298, allocations: 0.5414 GB / 1.692 GB, free: 101.5 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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: 23.77583075291477]