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.0009296/0.0009296, allocations: 201.1 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008042/0.0008044, allocations: 97.69 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1975/0.1975, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002491, allocations: 11.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.102, allocations: 62.95 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.2015/0.3036, allocations: 17.07 MB / 0.532 GB, free: 1.562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00998/0.3136, allocations: 4.583 MB / 0.5365 GB, free: 14.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/0.3173, allocations: 142.5 kB / 0.5366 GB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.3208, allocations: 0.8742 MB / 0.5375 GB, free: 13.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006838/0.3277, allocations: 1.781 MB / 0.5392 GB, free: 12.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.3312, allocations: 1.056 MB / 0.5402 GB, free: 12.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01549/0.3467, allocations: 11.59 MB / 0.5516 GB, free: 6.309 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03992/0.3866, allocations: 21.32 MB / 0.5724 GB, free: 3.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008181/0.3948, allocations: 4.528 MB / 0.5768 GB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008406/0.4033, allocations: 5.182 MB / 0.5819 GB, free: 9.418 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.4057, allocations: 0.6797 MB / 0.5825 GB, free: 8.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/0.4103, allocations: 0.8592 MB / 0.5834 GB, free: 7.879 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.4134, allocations: 2.281 MB / 0.5856 GB, free: 5.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003877/0.4173, allocations: 2.332 MB / 0.5879 GB, free: 3.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01958/0.4369, allocations: 19.83 MB / 0.6072 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.437, allocations: 0 / 0.6072 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.437, allocations: 0 / 0.6072 GB, free: 15.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007351/0.4377, allocations: 0 / 0.6072 GB, free: 15.37 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.0295/0.4672, allocations: 11.97 MB / 0.6189 GB, free: 3.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4673, allocations: 8.031 kB / 0.6189 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05303/0.5203, allocations: 11.49 MB / 0.6302 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.5343, allocations: 6.996 MB / 0.637 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009353/0.5353, allocations: 0.8911 MB / 0.6379 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00394/0.5392, allocations: 1.172 MB / 0.639 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04146/0.5807, allocations: 18.47 MB / 0.657 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005186/0.5813, allocations: 15.81 kB / 0.6571 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/0.5845, allocations: 496 kB / 0.6575 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006994/0.5852, allocations: 0.6577 MB / 0.6582 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03896/0.6242, allocations: 18.99 MB / 0.6767 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4869/1.111, allocations: 61.04 MB / 0.7363 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/1.129, allocations: 16.57 MB / 0.7525 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005879/1.135, allocations: 4.502 MB / 0.7569 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004589/1.136, allocations: 322.1 kB / 0.7572 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.136, allocations: 103 kB / 0.7573 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=653): time 7.655e-06/1.136, allocations: 0 / 0.7573 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=653): time 0.01557/1.151, allocations: 12.32 MB / 0.7693 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/1.151, allocations: 120.8 kB / 0.7695 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.162, allocations: 8.55 MB / 0.7778 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.163, allocations: 128.3 kB / 0.7779 GB, free: 101 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.165, allocations: 4.495 MB / 0.7823 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.167, allocations: 2.182 MB / 0.7845 GB, free: 95.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/1.167, allocations: 155.6 kB / 0.7846 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002808/1.168, allocations: 0.6189 MB / 0.7852 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/1.173, allocations: 4.082 MB / 0.7892 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005761/1.178, allocations: 6.882 MB / 0.7959 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006357/1.185, allocations: 5.568 MB / 0.8013 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/1.185, allocations: 24 kB / 0.8014 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01538/1.2, allocations: 11.95 MB / 0.813 GB, free: 71.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/1.2, allocations: 44 kB / 0.8131 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/1.2, allocations: 90.95 kB / 0.8132 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008217/1.201, allocations: 428.8 kB / 0.8136 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006249/1.207, allocations: 1.993 MB / 0.8155 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/1.212, allocations: 8.929 MB / 0.8242 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/1.219, allocations: 1.346 MB / 0.8256 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009993/1.22, allocations: 380.8 kB / 0.8259 GB, free: 57.04 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.006679/1.227, allocations: 4.58 MB / 0.8304 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.228, allocations: 0.7021 MB / 0.8311 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.242, allocations: 10.6 MB / 0.8414 GB, free: 41.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/1.242, allocations: 71.95 kB / 0.8415 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.242, allocations: 4 kB / 0.8415 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.42e-05/1.242, allocations: 31.88 kB / 0.8415 GB, free: 40.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3751/1.617, allocations: 161.4 MB / 0.9992 GB, free: 137.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001066/1.617, allocations: 88 kB / 0.9992 GB, free: 137.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004824/1.622, allocations: 1.539 MB / 1.001 GB, free: 136.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/1.623, allocations: 396.6 kB / 1.001 GB, free: 135.8 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004372/1.623, allocations: 244 kB / 1.001 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/1.627, allocations: 8.794 MB / 1.01 GB, free: 126.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/1.627, allocations: 131.4 kB / 1.01 GB, free: 125.9 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.644, allocations: 18.47 MB / 1.028 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003924/1.648, allocations: 2.026 MB / 1.03 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009839/1.649, allocations: 243.9 kB / 1.03 GB, free: 103.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/1.653, allocations: 0.5659 MB / 1.031 GB, free: 103 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000687/1.654, allocations: 0.7266 MB / 1.032 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/1.654, allocations: 304 kB / 1.032 GB, free: 102 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007205/1.661, allocations: 5.993 MB / 1.038 GB, free: 96.04 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.232e-06/1.661, allocations: 4 kB / 1.038 GB, free: 96.03 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.007438/1.669, allocations: 2.623 MB / 1.04 GB, free: 93.41 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.0008136/1.67, allocations: 495.7 kB / 1.041 GB, free: 92.92 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.681, allocations: 10.33 MB / 1.051 GB, free: 82.5 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.273e-05/1.681, allocations: 17 kB / 1.051 GB, free: 82.48 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.005882/1.687, allocations: 5.43 MB / 1.056 GB, free: 76.99 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008002/1.695, allocations: 1.464 MB / 1.058 GB, free: 75.55 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/1.729, allocations: 27.59 MB / 1.085 GB, free: 46.71 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00606/1.735, allocations: 7.522 MB / 1.092 GB, free: 39.16 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002815/1.738, allocations: 0.6283 MB / 1.092 GB, free: 38.53 MB / 0.5574 GB Notification: Performance of SimCode: time 9.31e-07/1.738, allocations: 0 / 1.092 GB, free: 38.53 MB / 0.5574 GB Notification: Performance of Templates: time 1.058/2.796, allocations: 0.5345 GB / 1.627 GB, free: 165.7 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