Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008987, allocations: 92.8 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009494/0.0009493, allocations: 168.8 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 8.812 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1232, allocations: 61.93 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01917/0.1424, allocations: 18.43 MB / 490.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.1535, allocations: 4.842 MB / 495.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.1579, allocations: 147.5 kB / 495.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.1622, allocations: 1.213 MB / 496.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.1706, allocations: 2.022 MB / 498.9 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.1749, allocations: 1.165 MB / 0.4883 GB, free: 1.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01736/0.1923, allocations: 12.43 MB / 0.5005 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2969/0.4892, allocations: 25.38 MB / 0.5253 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009607/0.4988, allocations: 4.552 MB / 0.5297 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.5105, allocations: 5.466 MB / 0.5351 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002757/0.5133, allocations: 0.6816 MB / 0.5357 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004659/0.518, allocations: 0.8741 MB / 0.5366 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.5208, allocations: 2.332 MB / 0.5388 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008688/0.5295, allocations: 5.557 MB / 0.5443 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02447/0.554, allocations: 22.16 MB / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.5541, allocations: 4 kB / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5541, allocations: 4 kB / 0.5659 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008001/0.5549, allocations: 0 / 0.5659 GB, free: 13.88 MB / 414.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.03637/0.5913, allocations: 11.86 MB / 0.5775 GB, free: 2.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.5914, allocations: 8.031 kB / 0.5775 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06232/0.6537, allocations: 11.49 MB / 0.5887 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/0.6711, allocations: 7.078 MB / 0.5956 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/0.6723, allocations: 0.8885 MB / 0.5965 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005568/0.6779, allocations: 1.172 MB / 0.5977 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0501/0.728, allocations: 18.56 MB / 0.6158 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004391/0.7285, allocations: 23.8 kB / 0.6158 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002965/0.7314, allocations: 492.3 kB / 0.6163 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006517/0.7321, allocations: 0.6577 MB / 0.6169 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04243/0.7745, allocations: 19.08 MB / 0.6356 GB, free: 6.938 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1318/0.9063, allocations: 60.86 MB / 0.695 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6016/1.508, allocations: 16.6 MB / 0.7112 GB, free: 153 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/1.519, allocations: 4.525 MB / 0.7156 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006973/1.52, allocations: 238.3 kB / 0.7158 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.458e-05/1.52, allocations: 102.4 kB / 0.7159 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.656e-06/1.52, allocations: 0.9688 kB / 0.7159 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02459/1.545, allocations: 12.37 MB / 0.728 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/1.545, allocations: 122.2 kB / 0.7281 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01391/1.559, allocations: 8.616 MB / 0.7366 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001466/1.56, allocations: 130.3 kB / 0.7367 GB, free: 146 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002977/1.563, allocations: 4.489 MB / 0.7411 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002561/1.566, allocations: 2.183 MB / 0.7432 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008434/1.567, allocations: 0.5994 MB / 0.7438 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/1.567, allocations: 307.6 kB / 0.7441 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005392/1.572, allocations: 4.107 MB / 0.7481 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007775/1.58, allocations: 6.911 MB / 0.7548 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01665/1.597, allocations: 11.95 MB / 0.7665 GB, free: 127 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001749/1.597, allocations: 27.69 kB / 0.7665 GB, free: 127 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02554/1.622, allocations: 12.01 MB / 0.7783 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/1.623, allocations: 46.5 kB / 0.7783 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.623, allocations: 88 kB / 0.7784 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009204/1.624, allocations: 415.5 kB / 0.7788 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007477/1.631, allocations: 2.004 MB / 0.7807 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/1.637, allocations: 8.92 MB / 0.7895 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008691/1.645, allocations: 1.354 MB / 0.7908 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/1.647, allocations: 383 kB / 0.7911 GB, free: 105.5 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.01049/1.658, allocations: 4.582 MB / 0.7956 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/1.659, allocations: 0.7021 MB / 0.7963 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.675, allocations: 10.62 MB / 0.8067 GB, free: 89.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-05/1.676, allocations: 64 kB / 0.8067 GB, free: 89.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.676, allocations: 4 kB / 0.8067 GB, free: 89.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/1.676, allocations: 35.81 kB / 0.8068 GB, free: 89.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5261/2.202, allocations: 156.6 MB / 0.9597 GB, free: 146.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004004/2.202, allocations: 86 kB / 0.9598 GB, free: 146.7 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006799/2.209, allocations: 1.538 MB / 0.9613 GB, free: 146.6 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/2.21, allocations: 382 kB / 0.9617 GB, free: 146.5 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001513/2.212, allocations: 244.3 kB / 0.9619 GB, free: 146.4 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/2.217, allocations: 8.796 MB / 0.9705 GB, free: 138.3 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-05/2.217, allocations: 135.4 kB / 0.9706 GB, free: 138.2 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02748/2.245, allocations: 18.55 MB / 0.9887 GB, free: 118.8 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00617/2.251, allocations: 2.025 MB / 0.9907 GB, free: 117 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003194/2.254, allocations: 239.9 kB / 0.9909 GB, free: 116.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009065/2.263, allocations: 0.5659 MB / 0.9915 GB, free: 116.2 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002107/2.266, allocations: 0.7262 MB / 0.9922 GB, free: 115.5 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001371/2.267, allocations: 308 kB / 0.9925 GB, free: 115.2 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.013/2.28, allocations: 6.047 MB / 0.9984 GB, free: 109.1 MB / 0.5451 GB Notification: Performance of sort global known variables: time 5.21e-07/2.28, allocations: 0 / 0.9984 GB, free: 109.1 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01446/2.295, allocations: 2.628 MB / 1.001 GB, free: 106.5 MB / 0.5451 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.003304/2.298, allocations: 490.3 kB / 1.001 GB, free: 106 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01762/2.316, allocations: 10.39 MB / 1.012 GB, free: 95.52 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 7.892e-05/2.316, allocations: 16 kB / 1.012 GB, free: 95.51 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.008472/2.324, allocations: 5.449 MB / 1.017 GB, free: 90 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08357/2.408, allocations: 1.485 MB / 1.018 GB, free: 88.55 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0495/2.457, allocations: 29.06 MB / 1.047 GB, free: 58.25 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01529/2.473, allocations: 7.773 MB / 1.054 GB, free: 50.43 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.01306/2.486, allocations: 3.566 MB / 1.058 GB, free: 46.86 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005255/2.491, allocations: 0.5853 MB / 1.058 GB, free: 46.27 MB / 0.5451 GB Notification: Performance of SimCode: time 3.156e-06/2.491, allocations: 0 / 1.058 GB, free: 46.27 MB / 0.5451 GB Notification: Performance of Templates: time 0.5515/3.042, allocations: 98.17 MB / 1.154 GB, free: 145.8 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches