Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 243.4 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007712/0.0007711, allocations: 100.5 kB / 295.5 MB, free: 6.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.348/0.348, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01144/0.3054, allocations: 17.19 MB / 0.5327 GB, free: 24.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007676/0.3131, allocations: 4.583 MB / 0.5371 GB, free: 21.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.3158, allocations: 141.7 kB / 0.5373 GB, free: 21.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.3183, allocations: 0.8727 MB / 0.5381 GB, free: 20.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.3235, allocations: 1.777 MB / 0.5399 GB, free: 19.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.3262, allocations: 1.062 MB / 0.5409 GB, free: 19.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.3372, allocations: 11.62 MB / 0.5522 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03489/0.3722, allocations: 24.91 MB / 0.5766 GB, free: 11.05 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/0.3798, allocations: 4.518 MB / 0.581 GB, free: 6.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008176/0.3881, allocations: 5.171 MB / 0.586 GB, free: 1.332 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001951/0.39, allocations: 0.6836 MB / 0.5867 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.394, allocations: 0.863 MB / 0.5875 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002621/0.3966, allocations: 2.289 MB / 0.5898 GB, free: 13.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008418/0.4051, allocations: 5.329 MB / 0.595 GB, free: 8.129 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.424, allocations: 19.82 MB / 0.6143 GB, free: 4.254 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4241, allocations: 3.938 kB / 0.6143 GB, free: 4.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4241, allocations: 0 / 0.6143 GB, free: 4.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005836/0.4247, allocations: 4 kB / 0.6143 GB, free: 4.246 MB / 426.7 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.02941/0.4541, allocations: 11.86 MB / 0.6259 GB, free: 8.289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4541, allocations: 12.03 kB / 0.6259 GB, free: 8.277 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05438/0.5085, allocations: 11.48 MB / 0.6371 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/0.5243, allocations: 7.096 MB / 0.6441 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/0.5253, allocations: 0.8832 MB / 0.6449 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004276/0.5296, allocations: 1.164 MB / 0.6461 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04344/0.5731, allocations: 18.48 MB / 0.6641 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005978/0.5737, allocations: 15.81 kB / 0.6641 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003649/0.5774, allocations: 500 kB / 0.6646 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007827/0.5782, allocations: 0.6578 MB / 0.6653 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4393/1.018, allocations: 18.98 MB / 0.6838 GB, free: 105.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09301/1.111, allocations: 61.1 MB / 0.7435 GB, free: 72.46 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/1.127, allocations: 16.57 MB / 0.7596 GB, free: 59.84 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006174/1.133, allocations: 4.5 MB / 0.764 GB, free: 57.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005412/1.134, allocations: 323.8 kB / 0.7643 GB, free: 57.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/1.134, allocations: 110 kB / 0.7644 GB, free: 57.19 MB / 490.8 MB Notification: Performance of pre-optimization done (n=653): time 7.554e-06/1.134, allocations: 3.938 kB / 0.7644 GB, free: 57.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=653): time 0.01643/1.15, allocations: 12.31 MB / 0.7765 GB, free: 44.69 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/1.15, allocations: 124.5 kB / 0.7766 GB, free: 44.55 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/1.161, allocations: 8.553 MB / 0.7849 GB, free: 36.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009893/1.162, allocations: 129.7 kB / 0.7851 GB, free: 35.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.165, allocations: 4.485 MB / 0.7894 GB, free: 31.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001898/1.167, allocations: 2.182 MB / 0.7916 GB, free: 29.21 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/1.167, allocations: 156 kB / 0.7917 GB, free: 29.06 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003191/1.168, allocations: 0.6163 MB / 0.7923 GB, free: 28.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005329/1.173, allocations: 4.082 MB / 0.7963 GB, free: 24.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006441/1.18, allocations: 6.878 MB / 0.803 GB, free: 16.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/1.192, allocations: 11.9 MB / 0.8146 GB, free: 2.949 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.568e-05/1.193, allocations: 28 kB / 0.8147 GB, free: 2.922 MB / 490.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02092/1.214, allocations: 11.95 MB / 0.8263 GB, free: 6.855 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/1.214, allocations: 44 kB / 0.8264 GB, free: 6.812 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/1.214, allocations: 92 kB / 0.8265 GB, free: 6.723 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/1.215, allocations: 412.8 kB / 0.8269 GB, free: 6.301 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007397/1.222, allocations: 1.997 MB / 0.8288 GB, free: 4.301 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/1.229, allocations: 8.928 MB / 0.8375 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006906/1.236, allocations: 1.35 MB / 0.8389 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.237, allocations: 380 kB / 0.8392 GB, free: 8.836 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008491/1.246, allocations: 4.582 MB / 0.8437 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.247, allocations: 0.6982 MB / 0.8444 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.265, allocations: 10.57 MB / 0.8547 GB, free: 8.855 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.008e-05/1.265, allocations: 68 kB / 0.8548 GB, free: 8.789 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.265, allocations: 4 kB / 0.8548 GB, free: 8.785 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.561e-05/1.265, allocations: 31.88 kB / 0.8548 GB, free: 8.754 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4156/1.681, allocations: 161.4 MB / 1.012 GB, free: 90.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001888/1.681, allocations: 89.09 kB / 1.013 GB, free: 90.38 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005245/1.686, allocations: 1.54 MB / 1.014 GB, free: 88.84 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007638/1.687, allocations: 383.2 kB / 1.014 GB, free: 88.45 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008487/1.688, allocations: 240 kB / 1.015 GB, free: 88.21 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/1.692, allocations: 8.808 MB / 1.023 GB, free: 78.72 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-05/1.693, allocations: 135.4 kB / 1.023 GB, free: 78.59 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.712, allocations: 18.48 MB / 1.041 GB, free: 58.42 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004578/1.717, allocations: 2.022 MB / 1.043 GB, free: 56.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.719, allocations: 243.9 kB / 1.044 GB, free: 56.36 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005866/1.725, allocations: 0.5619 MB / 1.044 GB, free: 55.79 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001229/1.726, allocations: 0.734 MB / 1.045 GB, free: 55.05 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005306/1.726, allocations: 308 kB / 1.045 GB, free: 54.75 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.008944/1.735, allocations: 5.993 MB / 1.051 GB, free: 48.78 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.593e-06/1.735, allocations: 2.719 kB / 1.051 GB, free: 48.78 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.008907/1.744, allocations: 2.627 MB / 1.054 GB, free: 46.15 MB / 0.5574 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/1.746, allocations: 496.5 kB / 1.054 GB, free: 45.66 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01388/1.76, allocations: 10.33 MB / 1.064 GB, free: 35.23 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.418e-05/1.76, allocations: 16 kB / 1.064 GB, free: 35.21 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007356/1.767, allocations: 5.422 MB / 1.069 GB, free: 29.73 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07795/1.845, allocations: 1.491 MB / 1.071 GB, free: 28.27 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03649/1.882, allocations: 27.58 MB / 1.098 GB, free: 15.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2322/2.114, allocations: 7.524 MB / 1.105 GB, free: 171.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002948/2.117, allocations: 0.6277 MB / 1.106 GB, free: 171.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.01e-07/2.117, allocations: 0 / 1.106 GB, free: 171.4 MB / 0.573 GB Notification: Performance of Templates: time 1.054/3.171, allocations: 0.5342 GB / 1.64 GB, free: 118.8 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches