Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 117 kB / 21.85 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 213.1 kB / 25.13 MB, free: 3.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2319/0.2319, allocations: 46.94 MB / 362 MB, free: 4.234 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 79.86 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3591, allocations: 66.09 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02448/0.3835, allocations: 19.67 MB / 0.5815 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.3967, allocations: 4.977 MB / 0.5864 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004732/0.4014, allocations: 194.9 kB / 0.5866 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01922/0.4206, allocations: 7.804 MB / 0.5942 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008951/0.4296, allocations: 2.113 MB / 0.5963 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004998/0.4346, allocations: 1.426 MB / 0.5977 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01943/0.454, allocations: 12.23 MB / 0.6096 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03346/0.4875, allocations: 16.88 MB / 0.6261 GB, free: 2.582 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.5011, allocations: 6.659 MB / 0.6326 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/0.5159, allocations: 7.288 MB / 0.6397 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005914/0.5218, allocations: 1.723 MB / 0.6414 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009481/0.5312, allocations: 1.91 MB / 0.6433 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009067/0.5403, allocations: 3.655 MB / 0.6468 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01739/0.5577, allocations: 7.015 MB / 0.6537 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03437/0.5921, allocations: 23.8 MB / 0.6769 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.5921, allocations: 0 / 0.6769 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5921, allocations: 0 / 0.6769 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006773/0.5928, allocations: 0 / 0.6769 GB, free: 14.38 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.04806/0.6408, allocations: 14.74 MB / 0.6913 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6409, allocations: 12.03 kB / 0.6913 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06198/0.7029, allocations: 11.17 MB / 0.7022 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02205/0.7249, allocations: 7.499 MB / 0.7096 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/0.7262, allocations: 0.8871 MB / 0.7104 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005147/0.7313, allocations: 1.176 MB / 0.7116 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04929/0.7806, allocations: 19.14 MB / 0.7303 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007164/0.7813, allocations: 27.83 kB / 0.7303 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004916/0.7862, allocations: 492 kB / 0.7308 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008666/0.7871, allocations: 0.6539 MB / 0.7314 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5445/1.332, allocations: 19.15 MB / 0.7501 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.432, allocations: 59.24 MB / 0.808 GB, free: 82.87 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.451, allocations: 10.65 MB / 0.8184 GB, free: 72.73 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006526/1.457, allocations: 4.216 MB / 0.8225 GB, free: 68.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.458, allocations: 243.7 kB / 0.8227 GB, free: 68.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/1.458, allocations: 103.7 kB / 0.8228 GB, free: 68.19 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.485e-05/1.458, allocations: 0 / 0.8228 GB, free: 68.19 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02072/1.479, allocations: 12.02 MB / 0.8345 GB, free: 56.08 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/1.479, allocations: 116.5 kB / 0.8347 GB, free: 55.95 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/1.493, allocations: 8.611 MB / 0.8431 GB, free: 47.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.494, allocations: 129.7 kB / 0.8432 GB, free: 47.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003629/1.498, allocations: 4.616 MB / 0.8477 GB, free: 43.15 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002644/1.5, allocations: 2.293 MB / 0.8499 GB, free: 40.84 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004157/1.505, allocations: 1.47 MB / 0.8514 GB, free: 39.37 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.299e-05/1.505, allocations: 301.1 kB / 0.8517 GB, free: 39.07 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006404/1.511, allocations: 4.121 MB / 0.8557 GB, free: 34.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007586/1.519, allocations: 6.917 MB / 0.8624 GB, free: 26.76 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.532, allocations: 11.99 MB / 0.8741 GB, free: 13.42 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-05/1.532, allocations: 24 kB / 0.8742 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0201/1.552, allocations: 12.1 MB / 0.886 GB, free: 1.188 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.553, allocations: 44 kB / 0.886 GB, free: 1.145 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/1.553, allocations: 92 kB / 0.8861 GB, free: 1.055 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009785/1.554, allocations: 416.8 kB / 0.8865 GB, free: 0.6289 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008147/1.562, allocations: 2.012 MB / 0.8885 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009104/1.571, allocations: 8.978 MB / 0.8972 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/1.579, allocations: 1.381 MB / 0.8986 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/1.582, allocations: 383.9 kB / 0.8989 GB, free: 3.184 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.01118/1.593, allocations: 4.582 MB / 0.9034 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/1.595, allocations: 0.7374 MB / 0.9041 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/1.617, allocations: 10.6 MB / 0.9145 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/1.617, allocations: 64 kB / 0.9146 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/1.617, allocations: 11.94 kB / 0.9146 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/1.617, allocations: 31.88 kB / 0.9146 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5484/2.166, allocations: 152.5 MB / 1.064 GB, free: 184.5 MB / 0.6701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001894/2.166, allocations: 88 kB / 1.064 GB, free: 184.4 MB / 0.6701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005574/2.171, allocations: 1.563 MB / 1.065 GB, free: 182.8 MB / 0.6701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007947/2.172, allocations: 376.8 kB / 1.066 GB, free: 182.4 MB / 0.6701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/2.173, allocations: 255.9 kB / 1.066 GB, free: 182.2 MB / 0.6701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004941/2.178, allocations: 8.849 MB / 1.074 GB, free: 172.8 MB / 0.6701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.983e-05/2.178, allocations: 131.4 kB / 1.075 GB, free: 172.7 MB / 0.6701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/2.198, allocations: 18.63 MB / 1.093 GB, free: 152.4 MB / 0.6701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005553/2.204, allocations: 2.082 MB / 1.095 GB, free: 150.6 MB / 0.6701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0019/2.206, allocations: 247.7 kB / 1.095 GB, free: 150.4 MB / 0.6701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005716/2.211, allocations: 0.5497 MB / 1.096 GB, free: 149.8 MB / 0.6701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/2.212, allocations: 0.7649 MB / 1.096 GB, free: 149.1 MB / 0.6701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004882/2.213, allocations: 323.9 kB / 1.097 GB, free: 148.8 MB / 0.6701 GB Notification: Performance of sorting global known variables: time 0.009602/2.222, allocations: 6.051 MB / 1.103 GB, free: 142.7 MB / 0.6701 GB Notification: Performance of sort global known variables: time 6.51e-07/2.222, allocations: 0 / 1.103 GB, free: 142.7 MB / 0.6701 GB Notification: Performance of remove unused functions: time 0.01205/2.234, allocations: 2.641 MB / 1.105 GB, free: 140.3 MB / 0.6701 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.002096/2.237, allocations: 499.5 kB / 1.106 GB, free: 139.8 MB / 0.6701 GB Notification: Performance of simCode: created initialization part: time 0.01586/2.252, allocations: 10.33 MB / 1.116 GB, free: 129.4 MB / 0.6701 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-05/2.252, allocations: 16 kB / 1.116 GB, free: 129.4 MB / 0.6701 GB Notification: Performance of simCode: created simulation system equations: time 0.008013/2.261, allocations: 5.279 MB / 1.121 GB, free: 124.1 MB / 0.6701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/2.274, allocations: 1.494 MB / 1.122 GB, free: 122.6 MB / 0.6701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04611/2.32, allocations: 24.98 MB / 1.147 GB, free: 96.37 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/2.333, allocations: 7.777 MB / 1.154 GB, free: 88.55 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.01011/2.343, allocations: 3.562 MB / 1.158 GB, free: 84.98 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003533/2.347, allocations: 0.6321 MB / 1.158 GB, free: 84.35 MB / 0.6701 GB Notification: Performance of SimCode: time 1.422e-06/2.347, allocations: 7.875 kB / 1.158 GB, free: 84.34 MB / 0.6701 GB Notification: Performance of Templates: time 0.4976/2.844, allocations: 101 MB / 1.257 GB, free: 224.3 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 11.037173209013417]