Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008369/0.0008364, allocations: 94.56 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2961/0.2961, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002508, allocations: 4 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2776, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01395/0.2916, allocations: 19.78 MB / 0.5352 GB, free: 22.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00972/0.3014, allocations: 5.076 MB / 0.5401 GB, free: 18.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/0.3064, allocations: 171.9 kB / 0.5403 GB, free: 18.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004605/0.311, allocations: 1.004 MB / 0.5413 GB, free: 18.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.3203, allocations: 1.861 MB / 0.5431 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.3258, allocations: 1.463 MB / 0.5445 GB, free: 16.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01611/0.3419, allocations: 13.59 MB / 0.5578 GB, free: 9.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05376/0.3957, allocations: 32.87 MB / 0.5899 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.4061, allocations: 5.505 MB / 0.5953 GB, free: 7.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.4167, allocations: 6.198 MB / 0.6013 GB, free: 1.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002973/0.4197, allocations: 0.832 MB / 0.6022 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005765/0.4255, allocations: 1.07 MB / 0.6032 GB, free: 15.78 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004111/0.4296, allocations: 2.651 MB / 0.6058 GB, free: 13.12 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.4416, allocations: 6.38 MB / 0.612 GB, free: 6.703 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02399/0.4656, allocations: 24.1 MB / 0.6355 GB, free: 14.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4656, allocations: 0 / 0.6355 GB, free: 14.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4657, allocations: 0 / 0.6355 GB, free: 14.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007477/0.4664, allocations: 0 / 0.6355 GB, free: 14.54 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04365/0.5101, allocations: 15.52 MB / 0.6507 GB, free: 14.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5101, allocations: 8.031 kB / 0.6507 GB, free: 14.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09333/0.6035, allocations: 11.79 MB / 0.6622 GB, free: 3.094 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02476/0.6283, allocations: 8.55 MB / 0.6706 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001515/0.6298, allocations: 1.056 MB / 0.6716 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005535/0.6354, allocations: 1.379 MB / 0.6729 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.471/1.106, allocations: 23.5 MB / 0.6959 GB, free: 97.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006058/1.107, allocations: 14.78 kB / 0.6959 GB, free: 97.73 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004428/1.112, allocations: 0.5731 MB / 0.6965 GB, free: 97.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000702/1.112, allocations: 0.6973 MB / 0.6971 GB, free: 97.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04845/1.161, allocations: 21.63 MB / 0.7183 GB, free: 89.74 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/1.268, allocations: 72.93 MB / 0.7895 GB, free: 26.28 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/1.287, allocations: 28.65 MB / 0.8175 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007907/1.295, allocations: 4.965 MB / 0.8223 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0275/1.323, allocations: 16.51 MB / 0.8384 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/1.323, allocations: 82.11 kB / 0.8385 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=465): time 6.683e-06/1.323, allocations: 0 / 0.8385 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of matching and sorting (n=465): time 0.03587/1.359, allocations: 15.82 MB / 0.854 GB, free: 5.211 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.359, allocations: 124.7 kB / 0.8541 GB, free: 5.07 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007023/1.366, allocations: 5.07 MB / 0.859 GB, free: 15.99 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0007305/1.367, allocations: 97.7 kB / 0.8591 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.003432/1.37, allocations: 5.893 MB / 0.8649 GB, free: 9.969 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.372, allocations: 1.585 MB / 0.8664 GB, free: 8.398 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/1.372, allocations: 148 kB / 0.8666 GB, free: 8.254 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0003858/1.373, allocations: 0.6122 MB / 0.8672 GB, free: 7.637 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006149/1.379, allocations: 4.144 MB / 0.8712 GB, free: 3.488 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008001/1.387, allocations: 7.267 MB / 0.8783 GB, free: 10.77 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/1.402, allocations: 11.94 MB / 0.89 GB, free: 13.36 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.639e-05/1.402, allocations: 28 kB / 0.89 GB, free: 13.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02264/1.425, allocations: 13.11 MB / 0.9028 GB, free: 208 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/1.425, allocations: 52.06 kB / 0.9029 GB, free: 156 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.425, allocations: 104 kB / 0.903 GB, free: 52 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2349/1.66, allocations: 3.083 MB / 0.906 GB, free: 181 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005505/1.666, allocations: 1.594 MB / 0.9075 GB, free: 181 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02652/1.692, allocations: 21.89 MB / 0.9289 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/1.698, allocations: 1.081 MB / 0.93 GB, free: 170.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/1.7, allocations: 381.6 kB / 0.9303 GB, free: 170.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01054/1.71, allocations: 5.387 MB / 0.9356 GB, free: 167.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/1.712, allocations: 0.4973 MB / 0.9361 GB, free: 167.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/1.729, allocations: 9.659 MB / 0.9455 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/1.729, allocations: 48.31 kB / 0.9455 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.729, allocations: 3.938 kB / 0.9455 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/1.729, allocations: 23.81 kB / 0.9456 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.763, allocations: 20.81 MB / 0.9659 GB, free: 156.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.763, allocations: 0 / 0.9659 GB, free: 156.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003017/1.766, allocations: 0.7362 MB / 0.9666 GB, free: 156.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005393/1.771, allocations: 2.958 MB / 0.9695 GB, free: 155.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006824/1.772, allocations: 94.55 kB / 0.9696 GB, free: 155.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0247/1.797, allocations: 21.67 MB / 0.9908 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.797, allocations: 4 kB / 0.9908 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/1.816, allocations: 14.25 MB / 1.005 GB, free: 124 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003325/1.819, allocations: 1.38 MB / 1.006 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.82, allocations: 83.94 kB / 1.006 GB, free: 122.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.824, allocations: 395.6 kB / 1.006 GB, free: 122.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/1.825, allocations: 383.3 kB / 1.007 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003303/1.825, allocations: 124 kB / 1.007 GB, free: 121.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005838/1.831, allocations: 3.384 MB / 1.01 GB, free: 118.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.31e-07/1.831, allocations: 4 kB / 1.01 GB, free: 118.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01187/1.843, allocations: 3.432 MB / 1.014 GB, free: 114.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/1.844, allocations: 258.3 kB / 1.014 GB, free: 114.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01854/1.863, allocations: 11.4 MB / 1.025 GB, free: 103.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/1.863, allocations: 4 kB / 1.025 GB, free: 103.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/1.873, allocations: 5.967 MB / 1.031 GB, free: 97.04 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00771/1.881, allocations: 1.181 MB / 1.032 GB, free: 95.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/1.924, allocations: 28.52 MB / 1.06 GB, free: 67.39 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009203/1.933, allocations: 8.819 MB / 1.068 GB, free: 58.53 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/1.935, allocations: 435.2 kB / 1.069 GB, free: 58.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/1.935, allocations: 0 / 1.069 GB, free: 58.1 MB / 0.573 GB Notification: Performance of Templates: time 0.9554/2.89, allocations: 385.4 MB / 1.445 GB, free: 131.6 MB / 0.6043 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches