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.001544/0.001544, allocations: 112.5 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.002064/0.002064, 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2346/0.2346, allocations: 46.94 MB / 361.6 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] 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.002182/0.002182, allocations: 63.91 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 66.03 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02451/0.3989, allocations: 19.87 MB / 0.5813 GB, free: 456 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4127, allocations: 5.009 MB / 0.5862 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005389/0.4181, allocations: 191 kB / 0.5864 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01943/0.4375, allocations: 7.855 MB / 0.594 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009682/0.4472, allocations: 2.113 MB / 0.5961 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.4525, allocations: 1.429 MB / 0.5975 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01957/0.4721, allocations: 12.24 MB / 0.6094 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03954/0.5117, allocations: 16.87 MB / 0.6259 GB, free: 2.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.5247, allocations: 6.655 MB / 0.6324 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.54, allocations: 7.296 MB / 0.6395 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006932/0.5469, allocations: 1.723 MB / 0.6412 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008701/0.5556, allocations: 1.918 MB / 0.6431 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008423/0.564, allocations: 3.659 MB / 0.6467 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01672/0.5808, allocations: 7.011 MB / 0.6535 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03707/0.6178, allocations: 23.68 MB / 0.6766 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.6178, allocations: 0 / 0.6766 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6178, allocations: 0 / 0.6766 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008601/0.6187, allocations: 0 / 0.6766 GB, free: 14.35 MB / 0.5137 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.05369/0.6724, allocations: 14.74 MB / 0.691 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6724, allocations: 8.031 kB / 0.691 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05992/0.7324, allocations: 11.17 MB / 0.702 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02301/0.7554, allocations: 7.506 MB / 0.7093 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/0.7566, allocations: 0.8832 MB / 0.7101 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006083/0.7626, allocations: 1.172 MB / 0.7113 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05707/0.8197, allocations: 18.61 MB / 0.7295 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004407/0.8202, allocations: 15.91 kB / 0.7295 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003887/0.824, allocations: 496 kB / 0.73 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008056/0.8248, allocations: 0.6577 MB / 0.7306 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6286/1.453, allocations: 19.14 MB / 0.7493 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/1.556, allocations: 59.53 MB / 0.8074 GB, free: 83.41 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/1.572, allocations: 10.7 MB / 0.8179 GB, free: 73.23 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005595/1.577, allocations: 4.22 MB / 0.822 GB, free: 68.98 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004938/1.578, allocations: 242.3 kB / 0.8222 GB, free: 68.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/1.578, allocations: 111.7 kB / 0.8223 GB, free: 68.68 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.774e-06/1.578, allocations: 0 / 0.8223 GB, free: 68.68 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01635/1.594, allocations: 12 MB / 0.8341 GB, free: 56.58 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/1.594, allocations: 116.5 kB / 0.8342 GB, free: 56.45 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/1.607, allocations: 8.617 MB / 0.8426 GB, free: 47.89 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/1.608, allocations: 133.7 kB / 0.8427 GB, free: 47.75 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003242/1.611, allocations: 4.604 MB / 0.8472 GB, free: 43.63 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002595/1.614, allocations: 2.297 MB / 0.8494 GB, free: 41.32 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/1.616, allocations: 1.466 MB / 0.8509 GB, free: 39.84 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/1.616, allocations: 301.1 kB / 0.8512 GB, free: 39.55 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/1.621, allocations: 4.113 MB / 0.8552 GB, free: 35.43 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/1.628, allocations: 6.921 MB / 0.8619 GB, free: 27.24 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.642, allocations: 11.99 MB / 0.8736 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/1.642, allocations: 28 kB / 0.8737 GB, free: 13.87 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02047/1.662, allocations: 12.09 MB / 0.8855 GB, free: 1.668 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/1.662, allocations: 48 kB / 0.8855 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/1.662, allocations: 92 kB / 0.8856 GB, free: 1.531 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/1.663, allocations: 412.8 kB / 0.886 GB, free: 1.109 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00764/1.671, allocations: 2.012 MB / 0.888 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00865/1.68, allocations: 8.973 MB / 0.8967 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008382/1.688, allocations: 1.377 MB / 0.8981 GB, free: 4.047 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/1.69, allocations: 391.9 kB / 0.8985 GB, free: 3.664 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.01286/1.703, allocations: 4.582 MB / 0.9029 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/1.706, allocations: 0.7374 MB / 0.9036 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02491/1.731, allocations: 10.6 MB / 0.914 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/1.731, allocations: 67.94 kB / 0.9141 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.731, allocations: 7.938 kB / 0.9141 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/1.731, allocations: 35.86 kB / 0.9141 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.524/2.255, allocations: 152.6 MB / 1.063 GB, free: 185.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002942/2.255, allocations: 88 kB / 1.063 GB, free: 185 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00588/2.261, allocations: 1.56 MB / 1.065 GB, free: 183.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/2.262, allocations: 379.6 kB / 1.065 GB, free: 183.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001348/2.263, allocations: 259.9 kB / 1.065 GB, free: 182.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005018/2.268, allocations: 8.847 MB / 1.074 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-05/2.268, allocations: 139.2 kB / 1.074 GB, free: 173.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/2.29, allocations: 18.64 MB / 1.092 GB, free: 153 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005939/2.296, allocations: 2.073 MB / 1.094 GB, free: 151.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002474/2.298, allocations: 248 kB / 1.095 GB, free: 151 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006437/2.304, allocations: 0.543 MB / 1.095 GB, free: 150.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/2.306, allocations: 0.7689 MB / 1.096 GB, free: 149.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008415/2.307, allocations: 319.9 kB / 1.096 GB, free: 149.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01117/2.318, allocations: 6.044 MB / 1.102 GB, free: 143.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/2.318, allocations: 4 kB / 1.102 GB, free: 143.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01186/2.33, allocations: 2.649 MB / 1.105 GB, free: 140.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.002148/2.332, allocations: 495.5 kB / 1.105 GB, free: 140.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.347, allocations: 10.33 MB / 1.115 GB, free: 130 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-05/2.347, allocations: 16 kB / 1.115 GB, free: 130 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008537/2.356, allocations: 5.279 MB / 1.12 GB, free: 124.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01279/2.369, allocations: 1.497 MB / 1.122 GB, free: 123.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0418/2.411, allocations: 24.6 MB / 1.146 GB, free: 97.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009134/2.42, allocations: 7.518 MB / 1.153 GB, free: 89.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003189/2.423, allocations: 0.7024 MB / 1.154 GB, free: 89.12 MB / 0.67 GB Notification: Performance of SimCode: time 1.903e-06/2.423, allocations: 0 / 1.154 GB, free: 89.12 MB / 0.67 GB Notification: Performance of Templates: time 1.209/3.632, allocations: 0.5414 GB / 1.695 GB, free: 89.41 MB / 0.7013 GB " [Timeout remaining time 656] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 24.294154688017443]