Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001981/0.001981, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002433/0.002433, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2395/0.2395, allocations: 46.97 MB / 360.9 MB, free: 4.023 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.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.91 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02323/0.3932, allocations: 16.97 MB / 0.5777 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.4076, allocations: 4.849 MB / 0.5824 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00514/0.4128, allocations: 195 kB / 0.5826 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0196/0.4324, allocations: 7.248 MB / 0.5897 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4429, allocations: 2.106 MB / 0.5917 GB, free: 4.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.4487, allocations: 1.383 MB / 0.5931 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02294/0.4716, allocations: 12.23 MB / 0.605 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03888/0.5105, allocations: 16.87 MB / 0.6215 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.5227, allocations: 6.659 MB / 0.628 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.5375, allocations: 7.288 MB / 0.6351 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006195/0.5437, allocations: 1.719 MB / 0.6368 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009029/0.5527, allocations: 1.918 MB / 0.6386 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008403/0.5611, allocations: 3.662 MB / 0.6422 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01674/0.5778, allocations: 5.486 MB / 0.6476 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03713/0.615, allocations: 23.79 MB / 0.6708 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.615, allocations: 0 / 0.6708 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.615, allocations: 4 kB / 0.6708 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008119/0.6158, allocations: 0 / 0.6708 GB, free: 3.277 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.0557/0.6715, allocations: 14.75 MB / 0.6852 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.6715, allocations: 12.03 kB / 0.6852 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06386/0.7354, allocations: 11.17 MB / 0.6961 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02402/0.7594, allocations: 7.502 MB / 0.7035 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001302/0.7607, allocations: 0.8832 MB / 0.7043 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006095/0.7668, allocations: 1.172 MB / 0.7055 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05664/0.8235, allocations: 19.14 MB / 0.7242 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007372/0.8242, allocations: 23.89 kB / 0.7242 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004692/0.8289, allocations: 496 kB / 0.7247 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008636/0.8298, allocations: 0.6577 MB / 0.7253 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6167/1.446, allocations: 19.05 MB / 0.7439 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1108/1.557, allocations: 51.77 MB / 0.7945 GB, free: 94.99 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/1.577, allocations: 10.64 MB / 0.8048 GB, free: 84.86 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006676/1.584, allocations: 4.212 MB / 0.809 GB, free: 80.62 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/1.584, allocations: 188.9 kB / 0.8091 GB, free: 80.44 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/1.584, allocations: 107.6 kB / 0.8092 GB, free: 80.32 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.059e-05/1.584, allocations: 3.938 kB / 0.8092 GB, free: 80.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02064/1.605, allocations: 11.74 MB / 0.8207 GB, free: 68.49 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.605, allocations: 128.5 kB / 0.8208 GB, free: 68.35 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006337/1.611, allocations: 3.824 MB / 0.8246 GB, free: 64.61 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/1.613, allocations: 133.7 kB / 0.8247 GB, free: 64.47 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002574/1.615, allocations: 4.702 MB / 0.8293 GB, free: 60.33 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002574/1.618, allocations: 2.293 MB / 0.8315 GB, free: 58.07 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004666/1.623, allocations: 1.466 MB / 0.833 GB, free: 56.59 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/1.623, allocations: 301.1 kB / 0.8332 GB, free: 56.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006571/1.629, allocations: 4.117 MB / 0.8373 GB, free: 52.18 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008217/1.637, allocations: 6.921 MB / 0.844 GB, free: 43.98 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/1.652, allocations: 11.98 MB / 0.8557 GB, free: 30.65 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.652, allocations: 24 kB / 0.8557 GB, free: 30.63 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02307/1.675, allocations: 11.85 MB / 0.8673 GB, free: 18.68 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.675, allocations: 44.12 kB / 0.8673 GB, free: 18.63 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/1.675, allocations: 96 kB / 0.8674 GB, free: 18.54 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.676, allocations: 404.9 kB / 0.8678 GB, free: 18.12 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007745/1.684, allocations: 2.016 MB / 0.8698 GB, free: 16.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/1.69, allocations: 8.816 MB / 0.8784 GB, free: 6.676 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/1.696, allocations: 1.021 MB / 0.8794 GB, free: 5.648 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/1.698, allocations: 379.9 kB / 0.8798 GB, free: 5.277 MB / 0.5607 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.009431/1.707, allocations: 4.586 MB / 0.8842 GB, free: 0.6758 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00172/1.709, allocations: 484.9 kB / 0.8847 GB, free: 204 kB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/1.731, allocations: 10.32 MB / 0.8948 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/1.731, allocations: 71.94 kB / 0.8949 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.731, allocations: 0 / 0.8949 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.775e-05/1.731, allocations: 39.84 kB / 0.8949 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5371/2.268, allocations: 150.1 MB / 1.042 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005188/2.268, allocations: 87.84 kB / 1.042 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006967/2.275, allocations: 1.555 MB / 1.043 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/2.277, allocations: 388.5 kB / 1.043 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001815/2.279, allocations: 255.7 kB / 1.044 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/2.284, allocations: 8.685 MB / 1.052 GB, free: 193.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-05/2.284, allocations: 135.4 kB / 1.052 GB, free: 193.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/2.31, allocations: 18.36 MB / 1.07 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005426/2.315, allocations: 1.553 MB / 1.072 GB, free: 172.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00205/2.318, allocations: 256.3 kB / 1.072 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005459/2.323, allocations: 0.5463 MB / 1.073 GB, free: 171.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001498/2.324, allocations: 0.7611 MB / 1.073 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009233/2.325, allocations: 319.9 kB / 1.074 GB, free: 170.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004348/2.33, allocations: 2.546 MB / 1.076 GB, free: 168.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/2.33, allocations: 0 / 1.076 GB, free: 168.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01028/2.34, allocations: 2.946 MB / 1.079 GB, free: 165.5 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.002058/2.342, allocations: 0.4907 MB / 1.079 GB, free: 165.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01527/2.357, allocations: 10.32 MB / 1.09 GB, free: 154.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001322/2.357, allocations: 13.88 kB / 1.09 GB, free: 154.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009192/2.367, allocations: 5.293 MB / 1.095 GB, free: 149.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/2.38, allocations: 1.266 MB / 1.096 GB, free: 148.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04916/2.429, allocations: 24.22 MB / 1.12 GB, free: 122.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/2.443, allocations: 7.401 MB / 1.127 GB, free: 115.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008232/2.451, allocations: 3.202 MB / 1.13 GB, free: 112 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/2.453, allocations: 0.5266 MB / 1.13 GB, free: 111.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.173e-06/2.453, allocations: 0 / 1.13 GB, free: 111.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1257/2.579, allocations: 88.13 MB / 1.217 GB, free: 24.17 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.440403433982283]