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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009024/0.0009026, allocations: 199.8 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.155/1.155, allocations: 226.5 MB / 243.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006933/0.0006934, allocations: 92 kB / 295.4 MB, free: 6.719 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2699/0.2699, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002312, allocations: 8 kB / 465.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 62.96 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01133/0.2666, allocations: 17.18 MB / 0.5327 GB, free: 24.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007659/0.2743, allocations: 4.582 MB / 0.5372 GB, free: 21.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.2765, allocations: 143.8 kB / 0.5374 GB, free: 21.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.2782, allocations: 0.8745 MB / 0.5382 GB, free: 20.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.2827, allocations: 1.775 MB / 0.5399 GB, free: 19.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.2855, allocations: 1.065 MB / 0.541 GB, free: 19.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.2968, allocations: 11.62 MB / 0.5523 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03887/0.3357, allocations: 24.91 MB / 0.5767 GB, free: 11.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009016/0.3448, allocations: 4.513 MB / 0.5811 GB, free: 6.586 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008578/0.3534, allocations: 5.186 MB / 0.5861 GB, free: 1.379 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00257/0.356, allocations: 0.6797 MB / 0.5868 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/0.3607, allocations: 0.8592 MB / 0.5876 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003617/0.3644, allocations: 2.285 MB / 0.5899 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009999/0.3744, allocations: 5.329 MB / 0.5951 GB, free: 8.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.3935, allocations: 19.83 MB / 0.6144 GB, free: 4.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3935, allocations: 0 / 0.6144 GB, free: 4.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3936, allocations: 0 / 0.6144 GB, free: 4.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006726/0.3942, allocations: 0 / 0.6144 GB, free: 4.301 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.02984/0.4241, allocations: 11.86 MB / 0.626 GB, free: 8.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4241, allocations: 8.031 kB / 0.626 GB, free: 8.336 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00523/0.4294, allocations: 1.722 MB / 0.6277 GB, free: 6.602 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05335/0.4828, allocations: 11.49 MB / 0.6389 GB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.4973, allocations: 7.092 MB / 0.6458 GB, free: 3.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/0.4987, allocations: 0.891 MB / 0.6467 GB, free: 3.008 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005616/0.5043, allocations: 1.168 MB / 0.6479 GB, free: 1.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04625/0.5506, allocations: 18.47 MB / 0.6659 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000378/0.551, allocations: 19.81 kB / 0.6659 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002603/0.5536, allocations: 496 kB / 0.6664 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/0.5542, allocations: 0.6577 MB / 0.667 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3791/0.9333, allocations: 18.99 MB / 0.6856 GB, free: 105.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08568/1.019, allocations: 61.1 MB / 0.7452 GB, free: 71.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.034, allocations: 16.57 MB / 0.7614 GB, free: 58.67 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/1.04, allocations: 4.501 MB / 0.7658 GB, free: 55.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004966/1.04, allocations: 321.6 kB / 0.7661 GB, free: 55.23 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/1.04, allocations: 107.7 kB / 0.7662 GB, free: 55.11 MB / 490.8 MB Notification: Performance of pre-optimization done (n=653): time 7.404e-06/1.04, allocations: 4 kB / 0.7662 GB, free: 55.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=653): time 0.01499/1.055, allocations: 12.32 MB / 0.7783 GB, free: 42.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/1.055, allocations: 116.5 kB / 0.7784 GB, free: 42.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/1.067, allocations: 8.549 MB / 0.7867 GB, free: 33.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004552/1.068, allocations: 133.7 kB / 0.7868 GB, free: 33.79 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/1.07, allocations: 4.49 MB / 0.7912 GB, free: 29.28 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.072, allocations: 2.186 MB / 0.7934 GB, free: 27.11 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/1.072, allocations: 156 kB / 0.7935 GB, free: 26.96 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003337/1.072, allocations: 0.6202 MB / 0.7941 GB, free: 26.34 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004942/1.077, allocations: 4.078 MB / 0.7981 GB, free: 22.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005806/1.083, allocations: 6.881 MB / 0.8048 GB, free: 14.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.094, allocations: 11.9 MB / 0.8164 GB, free: 0.8477 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.947e-05/1.094, allocations: 24 kB / 0.8165 GB, free: 0.8242 MB / 490.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0184/1.113, allocations: 11.96 MB / 0.8281 GB, free: 4.75 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.982e-05/1.113, allocations: 44 kB / 0.8282 GB, free: 4.707 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/1.113, allocations: 88 kB / 0.8283 GB, free: 4.621 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.114, allocations: 412.9 kB / 0.8287 GB, free: 4.199 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006693/1.121, allocations: 1.997 MB / 0.8306 GB, free: 2.199 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/1.127, allocations: 8.928 MB / 0.8393 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006133/1.133, allocations: 1.346 MB / 0.8406 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.134, allocations: 372 kB / 0.841 GB, free: 6.746 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.007286/1.142, allocations: 4.578 MB / 0.8455 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.143, allocations: 0.7059 MB / 0.8462 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.159, allocations: 10.57 MB / 0.8565 GB, free: 6.758 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-05/1.159, allocations: 72 kB / 0.8566 GB, free: 6.688 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.159, allocations: 0 / 0.8566 GB, free: 6.688 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/1.159, allocations: 31.88 kB / 0.8566 GB, free: 6.656 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.376/1.535, allocations: 161.4 MB / 1.014 GB, free: 88.43 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001593/1.536, allocations: 87.98 kB / 1.014 GB, free: 88.35 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/1.54, allocations: 1.536 MB / 1.016 GB, free: 86.81 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007041/1.541, allocations: 389.5 kB / 1.016 GB, free: 86.42 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005279/1.542, allocations: 244 kB / 1.016 GB, free: 86.18 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/1.546, allocations: 8.807 MB / 1.025 GB, free: 76.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.17e-05/1.546, allocations: 135.4 kB / 1.025 GB, free: 76.55 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0222/1.568, allocations: 18.48 MB / 1.043 GB, free: 56.39 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/1.572, allocations: 2.022 MB / 1.045 GB, free: 54.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.573, allocations: 243.9 kB / 1.045 GB, free: 54.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004388/1.577, allocations: 0.5659 MB / 1.046 GB, free: 53.75 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/1.578, allocations: 0.7301 MB / 1.047 GB, free: 53.01 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004286/1.579, allocations: 300 kB / 1.047 GB, free: 52.72 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007494/1.586, allocations: 6.001 MB / 1.053 GB, free: 46.73 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.2e-07/1.586, allocations: 0 / 1.053 GB, free: 46.73 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0109/1.597, allocations: 2.619 MB / 1.055 GB, free: 44.11 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.01774/1.615, allocations: 19.38 MB / 1.074 GB, free: 22.64 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.628, allocations: 10.32 MB / 1.084 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.456e-05/1.628, allocations: 12 kB / 1.084 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/1.638, allocations: 5.427 MB / 1.09 GB, free: 6.719 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07724/1.715, allocations: 1.493 MB / 1.091 GB, free: 5.25 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2997/2.015, allocations: 86.26 MB / 1.175 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007455/2.023, allocations: 7.52 MB / 1.183 GB, free: 138.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004863/2.028, allocations: 4.191 MB / 1.187 GB, free: 134.5 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/2.028, allocations: 0 / 1.187 GB, free: 134.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.45/13.47, allocations: 0.5632 GB / 1.75 GB, free: 159.6 MB / 0.5887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/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