Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001716/0.001716, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 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.002125/0.002125, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.534/1.534, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.448e-05, allocations: 6.281 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.2756/0.2756, allocations: 16.99 MB / 459.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.2887, allocations: 4.849 MB / 464.5 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005342/0.2941, allocations: 191.7 kB / 464.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.3121, allocations: 7.681 MB / 472.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009031/0.3211, allocations: 2.145 MB / 474.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.326, allocations: 1.385 MB / 475.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01884/0.3449, allocations: 12.62 MB / 488.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03525/0.3801, allocations: 16.78 MB / 0.4935 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02192/0.402, allocations: 9.735 MB / 0.503 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.417, allocations: 6.518 MB / 0.5093 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005615/0.4226, allocations: 1.723 MB / 0.511 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008053/0.4307, allocations: 1.91 MB / 0.5129 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007038/0.4377, allocations: 3.748 MB / 0.5165 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01518/0.4529, allocations: 4.709 MB / 0.5211 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03634/0.4893, allocations: 23.9 MB / 0.5445 GB, free: 2.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4893, allocations: 0 / 0.5445 GB, free: 2.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4893, allocations: 0 / 0.5445 GB, free: 2.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006773/0.4899, allocations: 0 / 0.5445 GB, free: 2.965 MB / 446.1 MB 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.04568/0.5356, allocations: 14.63 MB / 0.5588 GB, free: 4.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5357, allocations: 12.03 kB / 0.5588 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06514/0.6008, allocations: 11.17 MB / 0.5697 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.6198, allocations: 7.495 MB / 0.577 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/0.621, allocations: 0.8911 MB / 0.5779 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005707/0.6267, allocations: 1.174 MB / 0.579 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05012/0.6768, allocations: 19.14 MB / 0.5977 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003737/0.6772, allocations: 23.88 kB / 0.5977 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003506/0.6807, allocations: 499.9 kB / 0.5982 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007461/0.6815, allocations: 0.6499 MB / 0.5988 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04631/0.7278, allocations: 19.05 MB / 0.6174 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5257/1.254, allocations: 51.79 MB / 0.668 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.27, allocations: 10.63 MB / 0.6784 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005757/1.276, allocations: 4.223 MB / 0.6825 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/1.276, allocations: 184 kB / 0.6827 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/1.276, allocations: 102.3 kB / 0.6828 GB, free: 107 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.009e-05/1.276, allocations: 2.344 kB / 0.6828 GB, free: 107 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01597/1.292, allocations: 11.74 MB / 0.6943 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.292, allocations: 124.6 kB / 0.6944 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/1.297, allocations: 3.822 MB / 0.6981 GB, free: 99.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006593/1.298, allocations: 134.4 kB / 0.6983 GB, free: 99.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00214/1.3, allocations: 4.679 MB / 0.7028 GB, free: 95.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.302, allocations: 2.263 MB / 0.705 GB, free: 94.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/1.304, allocations: 1.461 MB / 0.7065 GB, free: 93.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/1.304, allocations: 305.1 kB / 0.7067 GB, free: 93.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00488/1.309, allocations: 4.115 MB / 0.7108 GB, free: 90.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/1.314, allocations: 6.921 MB / 0.7175 GB, free: 83.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.326, allocations: 11.98 MB / 0.7292 GB, free: 70.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.294e-05/1.326, allocations: 24.77 kB / 0.7293 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01557/1.342, allocations: 11.84 MB / 0.7408 GB, free: 58.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/1.342, allocations: 46.34 kB / 0.7409 GB, free: 58.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/1.342, allocations: 92 kB / 0.7409 GB, free: 58.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.343, allocations: 409.5 kB / 0.7413 GB, free: 58.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00681/1.35, allocations: 2.014 MB / 0.7433 GB, free: 56.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/1.355, allocations: 8.809 MB / 0.7519 GB, free: 47.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007212/1.362, allocations: 1.025 MB / 0.7529 GB, free: 46.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.364, allocations: 383.9 kB / 0.7533 GB, free: 45.87 MB / 0.5294 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.008045/1.372, allocations: 4.582 MB / 0.7577 GB, free: 41.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/1.373, allocations: 481 kB / 0.7582 GB, free: 40.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.389, allocations: 10.33 MB / 0.7683 GB, free: 30.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/1.389, allocations: 68 kB / 0.7684 GB, free: 30.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.389, allocations: 3.938 kB / 0.7684 GB, free: 30.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.153e-05/1.389, allocations: 35.86 kB / 0.7684 GB, free: 30.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4332/1.822, allocations: 150.1 MB / 0.915 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003981/1.822, allocations: 84 kB / 0.9151 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006173/1.828, allocations: 1.56 MB / 0.9166 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009554/1.829, allocations: 382.8 kB / 0.917 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/1.831, allocations: 251.9 kB / 0.9172 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/1.836, allocations: 8.685 MB / 0.9257 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.475e-05/1.836, allocations: 135.4 kB / 0.9258 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/1.857, allocations: 18.2 MB / 0.9436 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003982/1.86, allocations: 1.551 MB / 0.9451 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.862, allocations: 253.5 kB / 0.9453 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005613/1.868, allocations: 0.5428 MB / 0.9459 GB, free: 146 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001614/1.87, allocations: 0.765 MB / 0.9466 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001041/1.871, allocations: 323.9 kB / 0.9469 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004432/1.875, allocations: 2.538 MB / 0.9494 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.875, allocations: 0 / 0.9494 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01059/1.886, allocations: 2.95 MB / 0.9523 GB, free: 139.7 MB / 0.5919 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.002086/1.888, allocations: 497.9 kB / 0.9528 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.904, allocations: 10.33 MB / 0.9628 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 0.0001504/1.904, allocations: 15.61 kB / 0.9629 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008523/1.913, allocations: 5.286 MB / 0.968 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/1.924, allocations: 1.272 MB / 0.9693 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0448/1.969, allocations: 24.1 MB / 0.9928 GB, free: 96.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/1.981, allocations: 7.401 MB / 1 GB, free: 89.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00956/1.991, allocations: 3.202 MB / 1.003 GB, free: 86.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/1.994, allocations: 0.5238 MB / 1.004 GB, free: 85.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.994e-06/1.994, allocations: 0 / 1.004 GB, free: 85.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.1161/2.11, allocations: 76.49 MB / 1.078 GB, free: 9.973 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.23271233215928]