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.001364/0.001364, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001514/0.001514, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2558/0.2558, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.002158/0.002158, allocations: 67.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2945, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02136/0.3158, allocations: 16.98 MB / 0.5784 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.3266, allocations: 4.844 MB / 0.5831 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.3298, allocations: 198.9 kB / 0.5833 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01832/0.3481, allocations: 7.252 MB / 0.5904 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.3559, allocations: 2.102 MB / 0.5924 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.3599, allocations: 1.372 MB / 0.5938 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.3752, allocations: 12.23 MB / 0.6057 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02739/0.4026, allocations: 16.88 MB / 0.6222 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009922/0.4125, allocations: 6.655 MB / 0.6287 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.4242, allocations: 7.292 MB / 0.6358 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00404/0.4282, allocations: 1.719 MB / 0.6375 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/0.4336, allocations: 1.914 MB / 0.6394 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005116/0.4387, allocations: 3.659 MB / 0.643 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01271/0.4514, allocations: 5.486 MB / 0.6483 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03054/0.482, allocations: 23.8 MB / 0.6716 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.482, allocations: 0 / 0.6716 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.482, allocations: 0 / 0.6716 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005038/0.4825, allocations: 0 / 0.6716 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.04289/0.5254, allocations: 14.74 MB / 0.686 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.5254, allocations: 8.031 kB / 0.686 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07706/0.6025, allocations: 11.18 MB / 0.6969 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/0.6222, allocations: 7.499 MB / 0.7042 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/0.6233, allocations: 0.895 MB / 0.7051 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004685/0.628, allocations: 1.168 MB / 0.7062 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04601/0.674, allocations: 19.14 MB / 0.7249 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005219/0.6746, allocations: 27.89 kB / 0.7249 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003726/0.6783, allocations: 492 kB / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008494/0.6791, allocations: 0.6577 MB / 0.726 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4778/1.157, allocations: 19.05 MB / 0.7446 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08256/1.24, allocations: 51.77 MB / 0.7952 GB, free: 94.93 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/1.255, allocations: 10.63 MB / 0.8056 GB, free: 84.81 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00507/1.26, allocations: 4.216 MB / 0.8097 GB, free: 80.57 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/1.26, allocations: 188.9 kB / 0.8099 GB, free: 80.38 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.26, allocations: 107.6 kB / 0.81 GB, free: 80.26 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.908e-06/1.26, allocations: 0 / 0.81 GB, free: 80.26 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01574/1.276, allocations: 11.74 MB / 0.8215 GB, free: 68.43 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/1.276, allocations: 120.5 kB / 0.8216 GB, free: 68.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/1.281, allocations: 3.824 MB / 0.8253 GB, free: 64.55 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009634/1.282, allocations: 133.7 kB / 0.8254 GB, free: 64.42 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.284, allocations: 4.698 MB / 0.83 GB, free: 60.28 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001958/1.286, allocations: 2.298 MB / 0.8323 GB, free: 58.01 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/1.288, allocations: 1.466 MB / 0.8337 GB, free: 56.54 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/1.288, allocations: 301.1 kB / 0.834 GB, free: 56.24 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005552/1.293, allocations: 4.117 MB / 0.838 GB, free: 52.12 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007138/1.3, allocations: 6.917 MB / 0.8448 GB, free: 43.93 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.313, allocations: 11.98 MB / 0.8565 GB, free: 30.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.314, allocations: 28 kB / 0.8565 GB, free: 30.57 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01782/1.331, allocations: 11.84 MB / 0.868 GB, free: 18.62 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/1.331, allocations: 44 kB / 0.8681 GB, free: 18.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.332, allocations: 92 kB / 0.8682 GB, free: 18.49 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/1.332, allocations: 413.2 kB / 0.8686 GB, free: 18.07 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00751/1.34, allocations: 2.008 MB / 0.8705 GB, free: 16.06 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/1.346, allocations: 8.819 MB / 0.8791 GB, free: 6.629 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/1.352, allocations: 1.021 MB / 0.8801 GB, free: 5.602 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.354, allocations: 380.1 kB / 0.8805 GB, free: 5.23 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.007271/1.361, allocations: 4.586 MB / 0.885 GB, free: 0.6289 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.362, allocations: 484.9 kB / 0.8854 GB, free: 156 kB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/1.382, allocations: 10.33 MB / 0.8955 GB, free: 5.719 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/1.382, allocations: 71.94 kB / 0.8956 GB, free: 5.648 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.382, allocations: 0 / 0.8956 GB, free: 5.648 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.214e-05/1.382, allocations: 35.86 kB / 0.8956 GB, free: 5.613 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4399/1.822, allocations: 150.1 MB / 1.042 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001907/1.822, allocations: 84 kB / 1.042 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00564/1.828, allocations: 1.554 MB / 1.044 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008727/1.828, allocations: 389.9 kB / 1.044 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009208/1.829, allocations: 259.7 kB / 1.044 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/1.834, allocations: 8.684 MB / 1.053 GB, free: 193.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.455e-05/1.834, allocations: 137.8 kB / 1.053 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/1.853, allocations: 18.36 MB / 1.071 GB, free: 173.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/1.857, allocations: 1.553 MB / 1.073 GB, free: 172.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.858, allocations: 249.9 kB / 1.073 GB, free: 172.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004725/1.863, allocations: 0.5473 MB / 1.073 GB, free: 171.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.864, allocations: 0.7612 MB / 1.074 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004841/1.864, allocations: 319.9 kB / 1.074 GB, free: 170.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002893/1.867, allocations: 2.542 MB / 1.077 GB, free: 168 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.867, allocations: 4 kB / 1.077 GB, free: 168 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007548/1.875, allocations: 2.952 MB / 1.08 GB, free: 165.4 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.0008602/1.876, allocations: 497.8 kB / 1.08 GB, free: 165 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.888, allocations: 10.33 MB / 1.09 GB, free: 154.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.249e-05/1.888, allocations: 16.06 kB / 1.09 GB, free: 154.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006783/1.895, allocations: 5.285 MB / 1.095 GB, free: 149.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007963/1.903, allocations: 1.265 MB / 1.097 GB, free: 148 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/1.936, allocations: 24.23 MB / 1.12 GB, free: 122.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007048/1.943, allocations: 7.401 MB / 1.128 GB, free: 115.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006645/1.95, allocations: 3.199 MB / 1.131 GB, free: 111.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.951, allocations: 0.5266 MB / 1.131 GB, free: 111.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.734e-06/1.951, allocations: 0 / 1.131 GB, free: 111.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1417/2.093, allocations: 88.13 MB / 1.217 GB, free: 24.09 MB / 0.67 GB " [Timeout remaining time 658] 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 -s gbode -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: 9.807142072007991]